다음을 통해 공유


AgentsClient class

생성자

AgentsClient(string, TokenCredential, AgentsClientOptionalParams)

속성

files

파일에 대한 작업 그룹

messages

메시지에 대한 작업 그룹

pipeline

이 클라이언트가 요청을 만드는 데 사용하는 파이프라인

runs

실행에 대한 작업 그룹

runSteps

runSteps에 대한 작업 그룹

threads

스레드에 대한 작업 그룹

vectorStoreFileBatches

vectorStoreFileBatches에 대한 작업 그룹

vectorStoreFiles

vectorStoreFiles에 대한 작업 그룹

vectorStores

vectorStores에 대한 작업 그룹

메서드

createAgent(string, CreateAgentOptionalParams)

새 에이전트를 만듭니다.

deleteAgent(string, DeleteAgentOptionalParams)

에이전트를 삭제합니다.

getAgent(string, GetAgentOptionalParams)

기존 에이전트를 검색합니다.

listAgents(ListAgentsOptionalParams)

이전에 만든 에이전트 목록을 가져옵니다.

updateAgent(string, UpdateAgentOptionalParams)

기존 에이전트를 수정합니다.

생성자 세부 정보

AgentsClient(string, TokenCredential, AgentsClientOptionalParams)

new AgentsClient(endpointParam: string, credential: TokenCredential, options?: AgentsClientOptionalParams)

매개 변수

endpointParam

string

credential
TokenCredential

속성 세부 정보

files

파일에 대한 작업 그룹

files: FilesOperations

속성 값

messages

메시지에 대한 작업 그룹

messages: MessagesOperations

속성 값

pipeline

이 클라이언트가 요청을 만드는 데 사용하는 파이프라인

pipeline: Pipeline

속성 값

runs

실행에 대한 작업 그룹

runs: RunsOperations

속성 값

runSteps

runSteps에 대한 작업 그룹

runSteps: RunStepsOperations

속성 값

threads

스레드에 대한 작업 그룹

threads: ThreadsOperations

속성 값

vectorStoreFileBatches

vectorStoreFileBatches에 대한 작업 그룹

vectorStoreFileBatches: VectorStoreFileBatchesOperations

속성 값

vectorStoreFiles

vectorStoreFiles에 대한 작업 그룹

vectorStoreFiles: VectorStoreFilesOperations

속성 값

vectorStores

vectorStores에 대한 작업 그룹

vectorStores: VectorStoresOperations

속성 값

메서드 세부 정보

createAgent(string, CreateAgentOptionalParams)

새 에이전트를 만듭니다.

function createAgent(model: string, options?: CreateAgentOptionalParams): Promise<Agent>

매개 변수

model

string

반환

Promise<Agent>

deleteAgent(string, DeleteAgentOptionalParams)

에이전트를 삭제합니다.

function deleteAgent(assistantId: string, options?: DeleteAgentOptionalParams): Promise<AgentDeletionStatus>

매개 변수

assistantId

string

반환

getAgent(string, GetAgentOptionalParams)

기존 에이전트를 검색합니다.

function getAgent(assistantId: string, options?: GetAgentOptionalParams): Promise<Agent>

매개 변수

assistantId

string

반환

Promise<Agent>

listAgents(ListAgentsOptionalParams)

이전에 만든 에이전트 목록을 가져옵니다.

function listAgents(options?: ListAgentsOptionalParams): PagedAsyncIterableIterator<Agent, Agent[], PageSettings>

매개 변수

반환

updateAgent(string, UpdateAgentOptionalParams)

기존 에이전트를 수정합니다.

function updateAgent(assistantId: string, options?: UpdateAgentOptionalParams): Promise<Agent>

매개 변수

assistantId

string

반환

Promise<Agent>