generative-ai-docs icon indicating copy to clipboard operation
generative-ai-docs copied to clipboard

Update examples to take advantage of batched embeddings.

Open MarkDaoust opened this issue 2 years ago • 0 comments

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

MarkDaoust avatar Oct 13 '23 00:10 MarkDaoust