다음을 통해 공유


GetChatCompletions interface

메서드

post(GetChatCompletionsParameters)

제공된 채팅 메시지에 대한 채팅 완료를 가져옵니다. 완료는 다양한 작업을 지원하고 제공된 프롬프트 데이터에서 계속되거나 "완료"되는 텍스트를 생성합니다. 메서드는 지정된 엔드포인트에서 /chat/completions 경로에 REST API를 호출합니다.

메서드 세부 정보

post(GetChatCompletionsParameters)

제공된 채팅 메시지에 대한 채팅 완료를 가져옵니다. 완료는 다양한 작업을 지원하고 제공된 프롬프트 데이터에서 계속되거나 "완료"되는 텍스트를 생성합니다. 메서드는 지정된 엔드포인트에서 /chat/completions 경로에 REST API를 호출합니다.

function post(options?: GetChatCompletionsParameters): StreamableMethod<GetChatCompletions200Response | GetChatCompletionsDefaultResponse>

매개 변수

반환