Skill 2.2.2
Build agents that integrate retrieval, function-calling, and conversation memory
Key Concepts
Retrieval is added with knowledge tools: file search over uploaded files in a vector store, the Azure AI Search tool over an existing index, or a Foundry IQ knowledge base. The agent decides when to retrieve and returns citations as annotations. Function calling adds actions: when the model decides to call a function tool, the response contains a function call item with arguments; the application runs the function and sends the output back as a function_call_output item, and the agent continues.
Conversation memory combines the conversation history held in conversation objects with long-term memory, which extracts user facts and preferences from conversations and retrieves them in later ones, scoped to a user identifier. Together they let an agent answer "What did I order last time?" by recalling context, looking up data with a function, and grounding policy answers in retrieved documents.