[Missing <summary> documentation for "T:GenerativeAI.EmbeddingModel"]
public class EmbeddingModel : BaseModel| EmbeddingModel(IPlatformAdapter, String, HttpClient, ILogger) | Initializes a new instance of the EmbeddingModel class |
| EmbeddingModel(String, String, HttpClient, ILogger) | Initializes a new instance of the EmbeddingModel class |
| HttpClient | (Inherited from ApiBase) |
| Logger | (Inherited from ApiBase) |
| Platform | (Inherited from BaseClient) |
| SerializerOptions |
JSON serialization options used for API requests and responses.
(Inherited from ApiBase) |
| AddAuthorizationHeader | (Inherited from BaseClient) |
| BatchEmbedContentAsync(IEnumerableContent, CancellationToken) | Embeds a batch of content based on a collection of Content objects. |
| BatchEmbedContentAsync(IEnumerableEmbedContentRequest, CancellationToken) | Embeds a batch of content based on a collection of Content objects. |
| BatchEmbedContentAsync(String, BatchEmbedContentRequest) |
Embeds a batch of content using the specified Generative AI model.
(Inherited from BaseModel) |
| CheckAndHandleErrors | (Inherited from ApiBase) |
| CheckBlockedResponse | (Inherited from BaseModel) |
| CountTokensAsync |
Counts the number of tokens in a given input using the provided model and request.
(Inherited from BaseModel) |
| DeleteAsync |
Sends a DELETE request to the specified URL.
(Inherited from ApiBase) |
| DeserializeT(HttpResponseMessage) |
Deserializes a JSON string into an object of the specified type.
(Inherited from ApiBase) |
| DeserializeT(String) |
Deserializes a JSON string into an object of the specified type.
(Inherited from ApiBase) |
| EmbedContentAsync(Content, CancellationToken) | Embeds content based on a text input message. |
| EmbedContentAsync(EmbedContentRequest, CancellationToken) | Embeds content based on the provided text input message. |
| EmbedContentAsync(IEnumerablePart, CancellationToken) | Embeds content based on a sequence of Part objects. |
| EmbedContentAsync(IEnumerableString, CancellationToken) | Embeds content based on a collection of strings. |
| EmbedContentAsync(String, EmbedContentRequest) |
Embeds content using the specified Generative AI Model.
(Inherited from BaseModel) |
| EmbedContentAsync(String, CancellationToken) | Embeds content based on a text input message. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GenerateAnswerAsync |
Generates a grounded answer from the model given an input GenerateAnswerRequest.
(Inherited from BaseModel) |
| GenerateContentAsync |
Generates a model response given an input GenerateContentRequest.
(Inherited from BaseModel) |
| GenerateContentStreamAsync |
Streams model responses chunk by chunk given an input GenerateContentRequest.
(Inherited from BaseModel) |
| GetAsyncT |
Sends a GET request to the specified URL.
(Inherited from ApiBase) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| SendAsyncTRequest, TResponse |
Sends an HTTP request (e.g., POST, PUT, or PATCH) to the specified URL.
(Inherited from ApiBase) |
| StreamAsyncTRequest, TResponse |
Streams responses by sending an HTTP request with a JSON payload and
yielding the deserialized items as they arrive.
(Inherited from ApiBase) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| UploadFileWithProgressAsync(String, String, ActionDouble, DictionaryString, String, CancellationToken) |
Uploads a file to the specified URL with progress reporting.
(Inherited from ApiBase) |
| UploadFileWithProgressAsync(Stream, String, String, String, ActionDouble, DictionaryString, String, CancellationToken) | (Inherited from ApiBase) |
| _platform | (Inherited from BaseClient) |