get_docs
Search and retrieve documentation from LangChain, LlamaIndex, or OpenAI libraries based on a specific query. Provides relevant text extracts to enhance understanding and integration in conversations.
Instructions
Search the docs for a given query and library.
Supports langchain, llama-index, and openai.
Args:
query: The query to search for (e.g.: "Chroma DB").
library: The library to search in. One of langchain, llama-index, openai.
max_chars: Maximum characters to return (default: 1000 for free tier).
Returns:
Text from the documentation.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
library | Yes | ||
max_chars | No | ||
query | Yes |
Input Schema (JSON Schema)
{
"properties": {
"library": {
"title": "Library",
"type": "string"
},
"max_chars": {
"default": 1000,
"title": "Max Chars",
"type": "integer"
},
"query": {
"title": "Query",
"type": "string"
}
},
"required": [
"query",
"library"
],
"title": "get_docsArguments",
"type": "object"
}