docs: templates updated titles (#25646)

Updated titles into a consistent format. 
Fixed links to the diagrams.
Fixed typos.
Note: The Templates menu in the navbar is now sorted by the file names.
I'll try sorting the navbar menus by the page titles, not the page file
names.
This commit is contained in:
Leonid Ganeline
2024-08-23 01:19:38 -07:00
committed by GitHub
parent 1b2ae40d45
commit 163ef35dd1
106 changed files with 366 additions and 344 deletions

View File

@@ -1,4 +1,4 @@
# openai-functions-tool-retrieval-agent
# OpenAI functions - tool retrieval agent
The novel idea introduced in this template is the idea of using retrieval to select the set of tools to use to answer an agent query. This is useful when you have many many tools to select from. You cannot put the description of all the tools in the prompt (because of context length issues) so instead you dynamically select the N tools you do want to consider using at run time.
@@ -10,9 +10,9 @@ This template is based on [this Agent How-To](https://python.langchain.com/v0.2/
The following environment variables need to be set:
Set the `OPENAI_API_KEY` environment variable to access the OpenAI models.
Set the `OPENAI_API_KEY` environment variable to access the `OpenAI` models.
Set the `TAVILY_API_KEY` environment variable to access Tavily.
Set the `TAVILY_API_KEY` environment variable to access `Tavily`.
## Usage