chat
Engage with Glean Assistant to retrieve enterprise knowledge, including company policies and time-off details, by providing user questions and optional message context for accurate responses.
Instructions
Chat with Glean Assistant using Glean's RAG
Example request:
{
"message": "What are the company holidays this year?",
"context": [
"Hello, I need some information about time off.",
"I'm planning my vacation for next year."
]
}
Input Schema
Name | Required | Description | Default |
---|---|---|---|
context | No | Optional previous messages for context. Will be included in order before the current message. | |
message | Yes | The user question or message to send to Glean Assistant. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"context": {
"description": "Optional previous messages for context. Will be included in order before the current message.",
"items": {
"type": "string"
},
"type": "array"
},
"message": {
"description": "The user question or message to send to Glean Assistant.",
"type": "string"
}
},
"required": [
"message"
],
"type": "object"
}