Struktur des Assistants Endpoint-Objekts
Diese Seite gilt sowohl für die assistants als auch für die azureAssistants endpoint.
Hinweis: Um azureAssistants zu aktivieren, siehe die Azure OpenAI Konfiguration für weitere Informationen.
Beispiel
Diese Konfiguration aktiviert die Builder-Schnittstelle für Assistants, legt ein Abfrageintervall von 500ms für die Überprüfung auf Run-Updates fest und setzt ein Timeout von 10 Sekunden für Assistant-Run-Operationen.
disableBuilder
Schlüssel:
| Key | Type | Description | Example |
|---|---|---|---|
| disableBuilder | Boolean | Steuert die Sichtbarkeit und Nutzung der Builder-Oberfläche für Assistants. | When set to `true`, disables the builder interface for the assistant, limiting direct manual interaction. |
Standard: false
Beispiel:
pollIntervalMs
Schlüssel:
| Key | Type | Description | Example |
|---|---|---|---|
| pollIntervalMs | Integer | Gibt das Abfrageintervall in Millisekunden an, um nach Aktualisierungen von Ausführungen oder Änderungen in den Status von Assistant-Ausführungen zu suchen. | Specifies the polling interval in milliseconds for checking assistant run updates. |
Standard: 2000
Beispiel:
Hinweis: Derzeit wird dies nur von Azure Assistants verwendet. Höhere Werte werden für Azure Assistants empfohlen, um Fehler durch Ratenbegrenzungen (Rate Limiting) zu vermeiden.
timeoutMs
Schlüssel:
| Key | Type | Description | Example |
|---|---|---|---|
| timeoutMs | Integer | Definiert die maximale Zeit in Millisekunden, die ein Assistant laufen kann, bevor die Anfrage abgebrochen wird. | Sets a timeout in milliseconds for assistant runs. Helps manage system load by limiting total run operation time. |
Standard: 180000
Beispiel:
Hinweis: Der Standardwert beträgt 3 Minuten (180.000 ms). Die Laufzeiten von Operationen können zwischen 50 Sekunden und 2 Minuten liegen, aber auch darüber hinausgehen. Wenn der Wert timeoutMs überschritten wird, wird der Vorgang abgebrochen.
supportedIds
Schlüssel:
| Key | Type | Description | Example |
|---|---|---|---|
| supportedIds | Array/List of Strings | Liste der unterstützten Assistant Ids | Use this or `excludedIds` but not both (the `excludedIds` field will be ignored if so). |
Beispiel:
excludedIds
Schlüssel:
| Key | Type | Description | Example |
|---|---|---|---|
| excludedIds | Array/List of Strings | Liste der ausgeschlossenen Assistant-IDs | Use this or `supportedIds` but not both (the `excludedIds` field will be ignored if so). |
Beispiel:
privateAssistants
Schlüssel:
| Key | Type | Description | Example |
|---|---|---|---|
| privateAssistants | Boolean | Steuert, ob Assistants für den Benutzer, der sie erstellt hat, privat sind | Does not work with `supportedIds` or `excludedIds` (`supportedIds` and `excludedIds` will be ignored). |
Standard: false
Beispiel:
retrievalModels
Schlüssel:
| Key | Type | Description | Example |
|---|---|---|---|
| retrievalModels | Array/List of Strings | Gibt die Modelle an, die Retrieval für den assistants endpoint unterstützen. | Defines the models that support retrieval capabilities for the assistants endpoint. By default, it uses the latest known OpenAI models that support the official Retrieval feature. |
Standard: [] (verwendet die neuesten bekannten OpenAI-Modelle, die Retrieval unterstützen)
Beispiel:
capabilities
Schlüssel:
| Key | Type | Description | Example |
|---|---|---|---|
| capabilities | Array/List of Strings | Legt die Assistant-Funktionen fest, die allen Benutzern für den assistants endpoint zur Verfügung stehen. | Defines the assistant capabilities that are available to all users for the assistants endpoint. You can omit the capabilities you wish to exclude from the list. |
Standard: ["code_interpreter", "image_vision", "retrieval", "actions", "tools"]
Beispiel:
Hinweis: Dieses Feld ist optional. Wenn es weggelassen wird, besteht das Standardverhalten darin, alle im Beispiel aufgeführten Funktionen einzubeziehen.
Wie finden Sie diese Anleitung?