All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.service.maas.MaasService Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.service.maas;


import com.volcengine.model.maas.api.Api;
import com.volcengine.service.IBaseService;

import java.util.stream.Stream;


/**
 * The interface maas service.
 */
public interface MaasService extends IBaseService {
    Api.ChatResp chat(Api.ChatReq req) throws MaasException;

    Stream streamChat(Api.ChatReq req) throws MaasException;

    Api.TokenizeResp tokenization(Api.TokenizeReq req) throws MaasException;

    Api.ClassificationResp classification(Api.ClassificationReq req) throws MaasException;

    Api.EmbeddingsResp embeddings(Api.EmbeddingsReq req) throws MaasException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy