mirascope.core.cohere.call_params¶
Usage Documentation
CohereCallParams
¶
Bases: BaseCallParams
The parameters to use when calling the Cohere API.
Attributes:
Name | Type | Description |
---|---|---|
chat_history |
NotRequired[Sequence[ChatMessage] | None]
|
... |
connectors |
NotRequired[Sequence[ChatConnector] | None]
|
... |
conversation_id |
NotRequired[str | None]
|
... |
documents |
NotRequired[Sequence[ChatDocument] | None]
|
... |
frequency_penalty |
NotRequired[float | None]
|
... |
k |
NotRequired[int | None]
|
... |
max_input_tokens |
NotRequired[int | None]
|
... |
max_tokens |
NotRequired[int | None]
|
... |
p |
NotRequired[float | None]
|
... |
preamble |
NotRequired[str | None]
|
... |
presence_penalty |
NotRequired[float | None]
|
... |
prompt_truncation |
NotRequired[ChatRequestPromptTruncation | None]
|
... |
raw_prompting |
NotRequired[bool | None]
|
... |
search_queries_only |
NotRequired[bool | None]
|
... |
seed |
NotRequired[int | None]
|
... |
stop_sequences |
NotRequired[Sequence[str] | None]
|
... |
temperature |
NotRequired[float | None]
|
... |
tool_results |
NotRequired[Sequence[ToolResult] | None]
|
... |