public interface DifyCompletionApiService extends DifyFeedBackApiService, DifySpeechToTextConversionApiService, DifyAnnotationApiService
| 限定符和类型 | 方法和说明 |
|---|---|
retrofit2.Call<ChatCompletionResponse> |
sendCompletionMessage(CompletionMessageRequest message) |
retrofit2.Call<okhttp3.ResponseBody> |
sendCompletionMessageStream(CompletionMessageRequest message) |
retrofit2.Call<StopCompletionMessageResponse> |
stopCompletionMessage(String taskId,
StopCompletionMessageRequest request) |
feedbackMessage, getAppfeedbacksaudioToText, textToAudioannotationReply, createAnnotation, deleteAnnotation, getAnnotationList, getAnnotationReplyStatus, updateAnnotation@POST(value="completion-messages") retrofit2.Call<ChatCompletionResponse> sendCompletionMessage(@Body CompletionMessageRequest message)
@POST(value="completion-messages")
@Streaming
retrofit2.Call<okhttp3.ResponseBody> sendCompletionMessageStream(@Body
CompletionMessageRequest message)
@POST(value="completion-messages/{task_id}/stop")
retrofit2.Call<StopCompletionMessageResponse> stopCompletionMessage(@Path(value="task_id")
String taskId,
@Body
StopCompletionMessageRequest request)
Copyright © 2025. All rights reserved.