The llama-cpp-agent framework is a tool designed for easy interaction with Large Language Models (LLMs). Allowing users to chat with LLM models, execute structured function calls and get structured output. Works also with models not fine-tuned to JSON output and function calls.
Other
501
stars
51
forks
source link
Error: AttributeError: type object 'Book' has no attribute 'model_fields' #29
I've been trying to use the package. Trying the example shown here throws the said error:
https://github.com/Maximilian-Winter/llama-cpp-agent/blob/master/examples/02_Structured_Output/book_dataset_creation.py
More details: