MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / multi_tool_orchestration.py

File multi_tool_orchestration.py

examples/openai/multi_tool_orchestration.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# ### Multi-Tool Orchestration with RAG approach using OpenAI's Responses API
2#
3# This cookbook guides you through building dynamic, multi-tool workflows using OpenAI's Responses API. It demonstrates how to implement a Retrieval-Augmented Generation (RAG) approach that intelligently routes user queries to the appropriate in-built or external tools. Whether your query calls for general knowledge or requires accessing specific internal context from a vector database (like Pinecone), this guide shows you how to integrate function calls, web searches in-built tool, and leverage document retrieval to generate accurate, context-aware responses.
4# # Install required dependencies

Callers

nothing calls this directly

Calls 7

query_pinecone_indexFunction · 0.85
initMethod · 0.80
start_traceMethod · 0.80
upsertMethod · 0.80
end_traceMethod · 0.80
createMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected