Skip to content

Commit e8bd7ef

Browse files
Apply suggestions from code review
Co-authored-by: Sampath Kumar <[email protected]>
1 parent 941194e commit e8bd7ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

genai/embeddings/embed_content_text.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
def embed_content() -> str:
17-
# [START googlegenaisdk_embed_content_text]
17+
# [START googlegenaisdk_embeddings_docretrieval_with_txt]
1818
from google import genai
1919
from google.genai.types import EmbedContentConfig
2020

@@ -37,7 +37,7 @@ def embed_content() -> str:
3737
# embeddings=[ContentEmbedding(values=[-0.06302902102470398, 0.00928034819662571, 0.014716853387653828, -0.028747491538524628, ... ],
3838
# statistics=ContentEmbeddingStatistics(truncated=False, token_count=13.0))]
3939
# metadata=EmbedContentMetadata(billable_character_count=112)
40-
# [END googlegenaisdk_embed_content_text]
40+
# [END googlegenaisdk_embeddings_docretrieval_with_txt]
4141
return response
4242

4343

0 commit comments

Comments
 (0)