com.volcengine.ark.runtime.service.ArkBaseServiceImpl Maven / Gradle / Ivy
package com.volcengine.ark.runtime.service;
import com.volcengine.ark.runtime.model.bot.completion.chat.BotChatCompletionChunk;
import com.volcengine.ark.runtime.model.bot.completion.chat.BotChatCompletionRequest;
import com.volcengine.ark.runtime.model.bot.completion.chat.BotChatCompletionResult;
import com.volcengine.ark.runtime.model.completion.chat.ChatCompletionChunk;
import com.volcengine.ark.runtime.model.completion.chat.ChatCompletionRequest;
import com.volcengine.ark.runtime.model.completion.chat.ChatCompletionResult;
import com.volcengine.ark.runtime.model.embeddings.EmbeddingRequest;
import com.volcengine.ark.runtime.model.embeddings.EmbeddingResult;
import com.volcengine.ark.runtime.model.tokenization.TokenizationRequest;
import com.volcengine.ark.runtime.model.tokenization.TokenizationResult;
import io.reactivex.Flowable;
public interface ArkBaseServiceImpl {
ChatCompletionResult createChatCompletion(ChatCompletionRequest request);
Flowable streamChatCompletion(ChatCompletionRequest request);
BotChatCompletionResult createBotChatCompletion(BotChatCompletionRequest request);
Flowable streamBotChatCompletion(BotChatCompletionRequest request);
TokenizationResult createTokenization(TokenizationRequest request);
EmbeddingResult createEmbeddings(EmbeddingRequest request);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy