AgentsClient class
プロパティ
| files | ファイルの操作グループ |
| messages | メッセージの操作グループ |
| pipeline | このクライアントが要求を行うために使用するパイプライン |
| runs | 実行の操作グループ |
| run |
runSteps の操作グループ |
| threads | スレッドの操作グループ |
| vector |
vectorStoreFileBatches の操作グループ |
| vector |
vectorStoreFiles の操作グループ |
| vector |
vectorStores の操作グループ |
メソッド
| create |
新しいエージェントを作成します。 |
| delete |
エージェントを削除します。 |
| get |
既存のエージェントを取得します。 |
| list |
以前に作成されたエージェントの一覧を取得します。 |
| update |
既存のエージェントを変更します。 |
コンストラクターの詳細
AgentsClient(string, TokenCredential, AgentsClientOptionalParams)
new AgentsClient(endpointParam: string, credential: TokenCredential, options?: AgentsClientOptionalParams)
パラメーター
- endpointParam
-
string
- credential
- TokenCredential
- options
- AgentsClientOptionalParams
プロパティの詳細
files
messages
pipeline
runs
runSteps
threads
vectorStoreFileBatches
vectorStoreFileBatches の操作グループ
vectorStoreFileBatches: VectorStoreFileBatchesOperations
プロパティ値
vectorStoreFiles
vectorStoreFiles の操作グループ
vectorStoreFiles: VectorStoreFilesOperations
プロパティ値
vectorStores
メソッドの詳細
createAgent(string, CreateAgentOptionalParams)
新しいエージェントを作成します。
function createAgent(model: string, options?: CreateAgentOptionalParams): Promise<Agent>
パラメーター
- model
-
string
- options
- CreateAgentOptionalParams
戻り値
Promise<Agent>
deleteAgent(string, DeleteAgentOptionalParams)
エージェントを削除します。
function deleteAgent(assistantId: string, options?: DeleteAgentOptionalParams): Promise<AgentDeletionStatus>
パラメーター
- assistantId
-
string
- options
- DeleteAgentOptionalParams
戻り値
Promise<AgentDeletionStatus>
getAgent(string, GetAgentOptionalParams)
既存のエージェントを取得します。
function getAgent(assistantId: string, options?: GetAgentOptionalParams): Promise<Agent>
パラメーター
- assistantId
-
string
- options
- GetAgentOptionalParams
戻り値
Promise<Agent>
listAgents(ListAgentsOptionalParams)
以前に作成されたエージェントの一覧を取得します。
function listAgents(options?: ListAgentsOptionalParams): PagedAsyncIterableIterator<Agent, Agent[], PageSettings>
パラメーター
- options
- ListAgentsOptionalParams
戻り値
updateAgent(string, UpdateAgentOptionalParams)
既存のエージェントを変更します。
function updateAgent(assistantId: string, options?: UpdateAgentOptionalParams): Promise<Agent>
パラメーター
- assistantId
-
string
- options
- UpdateAgentOptionalParams
戻り値
Promise<Agent>