Loading...
Loading...
Compare original and translation side by side
PREREQUISITE: Readfor auth, global flags, and security rules.../glean-shared/SKILL.md
glean chat [flags]前提条件: 阅读了解认证、全局标志和安全规则。../glean-shared/SKILL.md
glean chat [flags]| Flag | Type | Default | Description |
|---|---|---|---|
| boolean | false | Print request body without sending |
| string | Complete JSON chat request body (overrides individual flags) | |
| string | Chat message (positional arg) (required) | |
| boolean | true | Save the chat session |
| integer | 30000 | Request timeout in milliseconds |
| 标志 | 类型 | 默认值 | 描述 |
|---|---|---|---|
| 布尔值 | false | 打印请求体但不发送请求 |
| 字符串 | 完整的JSON聊天请求体(会覆盖单个标志) | |
| 字符串 | 聊天消息(位置参数)(必填) | |
| 布尔值 | true | 保存聊天会话 |
| 整数 | 30000 | 请求超时时间(毫秒) |
glean chat "What are the company holidays?"
glean chat --json '{"messages":[{"author":"USER","messageType":"CONTENT","fragments":[{"text":"What is Glean?"}]}]}'glean chat "What are the company holidays?"
glean chat --json '{"messages":[{"author":"USER","messageType":"CONTENT","fragments":[{"text":"What is Glean?"}]}]}'undefinedundefinedundefinedundefined