Find answers from the community

Updated last week

Generating Metadata for API Responses in Python

Hey guys just curious, what's your best way to generate metadata (e.g. summary, title, QA pairs) on things as an API without hurting the API response in py?
L
Z
5 comments
Not sure what you mean by "without hurting the API responses" πŸ‘€
e.g. I know there's polling systems, and I am aware of the ingestion pipelines, but if the ingestion pipelines return nodes, what's the best way to amalgamate those nodes back into one document, and generate metadata (ideally using AI for some) to keep some sense of consistency between the API and frontend, while maintaining speed and generating good metadata
I created a custom one for each using 4o because I wanted to process pictures of each page of a PDF too, just in case like, what about schematics or diagrams or maps, etc.?
but then deleting the ref doc's becomes a whole other thing, and in general that much extraction can take a minute, but they want speed, so do I ignore the images for now?
yay indexing haha
Add a reply
Sign up and join the conversation on Discord