Off stream, I added new classes inheriting from Pydantic BaseModel, now trying to see how user queries can integrated with these new classes to ensure data validation
Maybe looking at how Request Body and POST requests work can help
I have Langchain installed, which is dependent on Pydantic v1…this does not work with FastAPI currently
Force upgrade to LangChain v0.2 for now, and hack together Pydantic v2 support
logseq.order-list-type:: number
Just make a new repo for the FastAPI class to learn, and then bring updates to MeaLeon
logseq.order-list-type:: number
Uninstall LangChain and reinstall later when needed with new version (not a big deal, currently not really using LangChain since I was using only for testing)
logseq.order-list-type:: number