Gemini.Types.Request.InlinedEmbedContentRequests (GeminiEx v0.8.4)
View SourceContainer for multiple inlined embedding requests in a batch.
Wraps a list of InlinedEmbedContentRequest structs for submission as part of an async batch embedding job.
Fields
requests: List of InlinedEmbedContentRequest structs
Examples
%InlinedEmbedContentRequests{
requests: [
%InlinedEmbedContentRequest{request: embed_req1},
%InlinedEmbedContentRequest{request: embed_req2}
]
}
Summary
Functions
Creates a new container for inlined requests.
Converts the inlined requests container to API-compatible map format.
Types
@type t() :: %Gemini.Types.Request.InlinedEmbedContentRequests{ requests: [Gemini.Types.Request.InlinedEmbedContentRequest.t()] }
Functions
@spec new([Gemini.Types.Request.InlinedEmbedContentRequest.t()]) :: t()
Creates a new container for inlined requests.
Parameters
requests: List of InlinedEmbedContentRequest structs
Examples
InlinedEmbedContentRequests.new([req1, req2, req3])
Converts the inlined requests container to API-compatible map format.