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>