docs: improve CodeDocsSearchTool README

- Fix tool name in custom model example
This commit is contained in:
theCyberTech
2024-11-30 00:34:04 +08:00
parent a3630418f9
commit ec9951e28a

View File

@@ -32,7 +32,7 @@ Note: Substitute 'https://docs.example.com/reference' with your target documenta
By default, the tool uses OpenAI for both embeddings and summarization. To customize the model, you can use a config dictionary as follows:
```python
tool = YoutubeVideoSearchTool(
tool = CodeDocsSearchTool(
config=dict(
llm=dict(
provider="ollama", # or google, openai, anthropic, llama2, ...