Skip to content

Commit 9500f50

Browse files
updated text content within responses API (#1756)
1 parent b3e846c commit 9500f50

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Diff for: examples/responses_api/responses_api_tool_orchestration.ipynb

+10-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@
1212
"metadata": {},
1313
"source": [
1414
"\n",
15-
"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."
15+
"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.\n",
16+
"\n",
17+
"For a practical example of performing RAG on PDFs using the Responses API's file search feature, refer to [this](https://cookbook.openai.com/examples/file_search_responses) notebook.\n",
18+
"\n",
19+
"This example showcases the flexibility of the Responses API, illustrating that beyond the internal `file_search` tool—which connects to an internal vector store—there is also the capability to easily connect to external vector databases. This allows for the implementation of a RAG approach in conjunction with hosted tooling, providing a versatile solution for various retrieval and generation tasks."
1620
]
1721
},
1822
{
@@ -1166,7 +1170,11 @@
11661170
"metadata": {},
11671171
"source": [
11681172
"\n",
1169-
"Here, we have seen how to utilize OpenAI's Responses API to implement a Retrieval-Augmented Generation (RAG) approach with multi-tool calling capabilities. It showcases an example where the model selects the appropriate tool based on the input query: general questions may be handled by built-in tools such as web-search, while specific medical inquiries related to internal knowledge are addressed by retrieving context from a vector database (such as Pinecone) via function calls. Additonally, we have showcased how multiple tool calls can be sequentially combined to generate a final response based on our instructions provided to responses API. Happy coding! "
1173+
"Here, we have seen how to utilize OpenAI's Responses API to implement a Retrieval-Augmented Generation (RAG) approach with multi-tool calling capabilities. It showcases an example where the model selects the appropriate tool based on the input query: general questions may be handled by built-in tools such as web-search, while specific medical inquiries related to internal knowledge are addressed by retrieving context from a vector database (such as Pinecone) via function calls. Additonally, we have showcased how multiple tool calls can be sequentially combined to generate a final response based on our instructions provided to responses API. \n",
1174+
"\n",
1175+
"As you continue to experiment and build upon these concepts, consider exploring additional resources and examples to further enhance your understanding and applications\n",
1176+
"\n",
1177+
"Happy coding! "
11701178
]
11711179
}
11721180
],

0 commit comments

Comments
 (0)