Find answers from the community

Updated 7 months ago

Hi @Logan M Do you know whether the

Hi @Logan M Do you know whether the open source llm(e.g., LLM in Ollama) with pydantic program is available on llamaindex, many thanks?
W
L
2 comments
Open-source llms are not good with Pydantic support tbh. You can check https://docs.llamaindex.ai/en/stable/examples/output_parsing/llm_program/

Set open-source LLM with Settings and try with prompt manipulation.
I did recently add a json_mode flag to the Ollama LLM, should help a bit
Add a reply
Sign up and join the conversation on Discord