Skip to content

Add tags to the prompt logs #14

@duskybomb

Description

@duskybomb

With a workflow, one needs to keep track of sequential calls for analysis. It would be nice to send a tag/identifier/metadata when invoking.

Something like:

chain.ainvoke(inputs, metadata={"question_id": 4})

Then the prompt_logs file would have this info in each json line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions