Gemini.Types.RagStore (GeminiEx v0.8.4)
View SourceType definitions for RAG stores (FileSearchStores).
RAG stores contain documents that can be searched semantically and used for retrieval-augmented generation.
Summary
Functions
Checks if the store is active.
Creates a RagStore from API response.
Extracts the store ID from the full name.
Parses store state from API string.
Types
@type store_state() :: :state_unspecified | :creating | :active | :deleting | :failed
RAG store state enumeration.
@type t() :: %Gemini.Types.RagStore{ create_time: String.t() | nil, description: String.t() | nil, display_name: String.t() | nil, document_count: integer() | nil, name: String.t() | nil, state: store_state() | nil, total_size_bytes: integer() | nil, update_time: String.t() | nil, vector_config: map() | nil }
Represents a RAG store.
Fields
name- Resource name (e.g., "ragStores/abc123")display_name- Human-readable namedescription- Store descriptionstate- Current statecreate_time- When the store was createdupdate_time- Last update timestampdocument_count- Number of documents in the storetotal_size_bytes- Total size of all documentsvector_config- Vector embedding configuration
Functions
Checks if the store is active.
Creates a RagStore from API response.
Extracts the store ID from the full name.
@spec parse_state(String.t() | nil) :: store_state() | nil
Parses store state from API string.