Docs agent
By default, Witty includes a specialized agent with in-depth knowledge of Witboost documentation, enabling users to quickly access accurate and context-aware information.
Interacting with Docs Agent
Currently, there are the following APIs to interact with Docs Agent:
- POST /docs-agent/v1/chat: chat with docs agent. The body is a json with this format
{
"query": "Some text"
}
If the embedder model configuration is different from the one used to create the embeddings, an error will be thrown. In this case, we have to re-create the embeddings.
Create embeddings for documentation
When a new documentation is released or when a new embedder model is set, you have to re-create the embeddings. This can be done with the following API:
- POST /docs-agent/v1/embeddings