You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[Back to Model list]](../../../../README.md#models-v1-link)[[Back to API list]](../../../../README.md#apis-v1-link)[[Back to README]](../../../../README.md)
Copy file name to clipboardExpand all lines: docs/v1/Ontologies/Query.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes |
15
15
**ontology_rid** | OntologyRid | The unique Resource Identifier (RID) of the Ontology that contains the Query. To look up your Ontology RID, please use the **List ontologies** endpoint or check the **Ontology Manager**. | |
16
16
**query_api_name** | QueryApiName | The API name of the Query to execute. | |
[[Back to Model list]](../../../../README.md#models-v2-link)[[Back to API list]](../../../../README.md#apis-v2-link)[[Back to README]](../../../../README.md)
**max_tokens** | int | The maximum number of tokens to generate before stopping. | |
16
16
**messages** | List[AnthropicMessage] | Input messages to the model. This can include a single user-role message or multiple messages with alternating user and assistant roles. | |
**preview** | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
18
19
**stop_sequences** | Optional[List[str]] | Custom text sequences that will cause the model to stop generating. | [optional] |
19
20
**system** | Optional[List[AnthropicSystemMessage]] | A system prompt is a way of providing context and instructions to Claude, such as specifying a particular goal or role. As of now, sending multiple system prompts is not supported. | [optional] |
@@ -42,6 +43,8 @@ anthropic_model_model_id = None
42
43
max_tokens =None
43
44
# List[AnthropicMessage] | Input messages to the model. This can include a single user-role message or multiple messages with alternating user and assistant roles.
44
45
messages = [{"role": "USER"}]
46
+
# Optional[Attribution]
47
+
attribution =None
45
48
# Optional[PreviewMode] | Enables the use of preview functionality.
46
49
preview =None
47
50
# Optional[List[str]] | Custom text sequences that will cause the model to stop generating.
**input** | OpenAiEmbeddingInput | Input text to embed, encoded as an array of strings. Each input must not exceed the max input tokens for the model (8192 tokens for all embedding models). | |
**dimensions** | Optional[int] | The number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models. | [optional] |
17
18
**encoding_format** | Optional[OpenAiEncodingFormat] | The format to return the embeddings in. Can be either float or base64. | [optional] |
18
19
**preview** | Optional[PreviewMode] | Enables the use of preview functionality. | [optional] |
# OpenAiEmbeddingInput | Input text to embed, encoded as an array of strings. Each input must not exceed the max input tokens for the model (8192 tokens for all embedding models).
35
36
input=None
37
+
# Optional[Attribution]
38
+
attribution =None
36
39
# Optional[int] | The number of dimensions the resulting output embeddings should have. Only supported in text-embedding-3 and later models.
37
40
dimensions =None
38
41
# Optional[OpenAiEncodingFormat] | The format to return the embeddings in. Can be either float or base64.
0 commit comments