UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.Embedding Namespace Reference

Classes

class  GeminiBatchEmbedContentRequest
 Generates multiple embeddings from the model given input text in a synchronous call. More...
 
class  GeminiBatchEmbedContentResponse
 The response to a GeminiBatchEmbedContentRequest. More...
 
class  GeminiContentEmbedding
 A list of floats representing an embedding. More...
 
class  GeminiEmbedContentRequest
 Generates an embedding from the model. More...
 
class  GeminiEmbedContentResponse
 The response to a GeminiEmbedContentRequest. More...
 

Enumerations

enum  GeminiEmbedTaskType {
  Unspecified , RetrievalQuery , RetrievalDocument , SemanticSimilarity ,
  Classification , Clustering , QuestionAnswering , FactVerification
}
 Type of task for which the embedding will be used. More...
 

Enumeration Type Documentation

◆ GeminiEmbedTaskType

Type of task for which the embedding will be used.

Enumerator
Unspecified 

Unset value.

RetrievalQuery 

Specifies the given text is a query in a search/retrieval setting.

RetrievalDocument 

Specifies the given text is a document from the corpus being searched.

SemanticSimilarity 

Specifies the given text will be used for STS.

Classification 

Specifies that the given text will be classified.

Clustering 

Specifies that the embeddings will be used for clustering.

QuestionAnswering 

Specifies that the given text will be used for question answering.

FactVerification 

Specifies that the given text will be used for fact verification.