#How can I receive meta information as argument of tool?
1 messages · Page 1 of 1 (latest)
Hi @plush mesa. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
Based on the information provided in the extracts, it seems that metadata can be used in various ways depending on the context. However, there isn't a specific example of receiving metadata as an argument of a tool.
In the context of OpenAI's Assistants, metadata is described as out-of-band storage of information that exists for your utility. It can be used to augment AI knowledge by amending the current user message with more information that appears to come from the user, or completely replacing the "create assistant" "system instructions" with a new instruction (source (https://community.openai.com/t/513796)).
In the context of using Pinecone for retrieval augmentation, metadata is used in the process of creating embeddings and upserting to Pinecone. The metadata is prepared in batches and includes information such as 'id', 'text', 'start', 'end', 'title', 'url', 'published', and 'channel_id' (source (https://cookbook.openai.com/examples/vector_databases/pinecone/gen_qa#data-preparation)).