CohereAI

We support the following endpoints:

public interface CohereAIApi {
  @POST("/v1/generate")
  ListenableFuture<CohereGenerateResponse> generate(@Body CohereGenerateRequest request);
}

Usage:

@Inject
public CohereAIService(CohereAIServiceConfig config) {...}

Last updated