Open fjsj opened 3 weeks ago
Related to #28
We should also support structured output, i.e., validate the output with Pydantic and retry if necessary. This library supports it: https://docs.phidata.com/assistants/structured-output
Seems doable with https://python.langchain.com/v0.2/docs/how_to/extraction_parse/#using-pydanticoutputparser
Related to #28
We should also support structured output, i.e., validate the output with Pydantic and retry if necessary. This library supports it: https://docs.phidata.com/assistants/structured-output
Seems doable with https://python.langchain.com/v0.2/docs/how_to/extraction_parse/#using-pydanticoutputparser