google/generative-ai-docs

Update examples to take advantage of batched embeddings.

Open

#147 创建于 2023年10月13日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Jupyter Notebook (746 fork)github user discovery
component:demosgood first issuetype:feature request

仓库指标

Star
 (2,250 star)
PR 合并指标
 (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

贡献者指南