Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion google/genai/file_search_stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _CreateFileSearchStoreConfig_to_mldev(
if getv(from_object, ['embedding_model']) is not None:
setv(
parent_object,
['_query', 'embeddingModel'],
['embeddingModel'],
t.t_model(api_client, getv(from_object, ['embedding_model'])),
)

Expand Down
7 changes: 7 additions & 0 deletions google/genai/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -15296,6 +15296,10 @@ class FileSearchStore(_common.BaseModel):
description="""The size of raw bytes ingested into the FileSearchStore. This is the
total size of all the documents in the FileSearchStore.""",
)
embedding_model: Optional[str] = Field(
default=None,
description="""The embedding model used by the FileSearchStore.""",
)


class FileSearchStoreDict(TypedDict, total=False):
Expand Down Expand Up @@ -15326,6 +15330,9 @@ class FileSearchStoreDict(TypedDict, total=False):
"""The size of raw bytes ingested into the FileSearchStore. This is the
total size of all the documents in the FileSearchStore."""

embedding_model: Optional[str]
"""The embedding model used by the FileSearchStore."""


FileSearchStoreOrDict = Union[FileSearchStore, FileSearchStoreDict]

Expand Down
Loading