Find answers from the community

Updated last year

I have a usecase where a set of

I have a usecase where a set of documents need to be categorized using one or a few of the tags in a pre-defined list. WIll llama index be a good tool for this use case?
L
M
2 comments
Hmm, maybe a pydantic program could help?

Write a pdyantic class that can capture the classification, feed it some text from the document, ask it to categorize?

https://gpt-index.readthedocs.io/en/stable/examples/output_parsing/openai_pydantic_program.html
I'd try that. I used pydantic before and it worked well! THAnks LOgan!
Add a reply
Sign up and join the conversation on Discord