createEmbeddings abstract method
- @Post.new(path: "/v1/embeddings")
- @Body.new() EmbeddingRequest request
Creates an embedding vector representing the input text.
Implementation
@Post(path: "/v1/embeddings")
Future<Response<Embedding>> createEmbeddings(
@Body() EmbeddingRequest request,
);