chat_request
zocrates.schemas.chat_request ¶
ActiveItem ¶
Bases: BaseModel
A Zotero context chip sent by the sidebar representing a selected item, collection, or library.
Attributes:
| Name | Type | Description |
|---|---|---|
key |
str
|
The item key in the Zotero library. |
title |
str
|
The title of the item. |
type |
ActiveItemType | None
|
Scope or kind of the selection:
|
ChatRequest ¶
Bases: BaseModel
Request body for POST /chat.
ResumeChatRequest ¶
Bases: BaseModel
Payload for resuming an interrupted human-in-the-loop chat invocation.
SnippetItem ¶
Bases: BaseModel
A user-curated text or image snippet extracted from an attachment.