Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow third-party JSON Schemas to be specified for final_result / output #1194

Closed as not planned
@prescod

Description

Description

I have a case where the Agent is agnostic to the domain of the problem. Both the prompt and the schema come in the form of YAML. Pydantic is so strongly typed that it is unclear how I can get underneath the type layers to just pass through the return value schema to the LLM. I can of course use a more dynamically-typed router (LiteLLM) but then I'll have two in my application.

References

No response

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

        AltStyle によって変換されたページ (->オリジナル) /