google/generative-ai-docs

Update examples to take advantage of batched embeddings.

オープン

#147 opened on 2023/10/13

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Jupyter Notebook (746 件のフォーク)github user discovery
component:demosgood first issuetype:feature request

Repository metrics

Stars
 (2,250 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description of the feature request:

There are several examples that loop over chunks of text and call embed_text on each one.

These should pass lists of chunks to embed_text, and embed text will return lists of vectors.

What problem are you trying to solve with this feature?

No response

Any other information you'd like to share?

No response

コントリビューターガイド