RAG API
Chat with Collection
Learn how to converse with your collections in WetroCloud
The chat
endpoint allows you to converse with your collection allowing it to respond based on information from your resources added to the collection via the WetroCloud API.
Required Parameters
Field | Description |
---|---|
collection_id | Collection Id. |
message | Message currently being sent to collection |
chat_history | History of chat between user and system |
Request Example
Response Example:
Field | Description |
---|---|
response | Conversational response to the message. |
tokens | Number of tokens used for processing. |
success | Indicates whether the query was successful. |