google/generative-ai-docs

Update examples to take advantage of batched embeddings.

開放

#147 建立於 2023年10月13日

 (0 則留言) (0 個反應) (0 位負責人)Jupyter Notebook (746 個分叉)github user discovery
component:demosgood first issuetype:feature request

倉庫指標

星標
 (2,250 顆星)
PR 合併指標
 (30 天內沒有已合併 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

貢獻者指南