continue icon indicating copy to clipboard operation
continue copied to clipboard

Fix-bedrock-embeddings

Open chezsmithy opened this issue 1 year ago • 0 comments

Description

  • Updated dimensions of the vectors generated to be 512 instead of 1024. Using 1024 was causing lookup failures into the index during subsequent use of contexts.
  • Returning an array of the chunked results instead of the array iteself so that they can be flattened into a single vector for storage.

Checklist

  • [X] The base branch of this PR is dev, rather than main
  • [X] The relevant docs, if any, have been updated or created

Screenshots

[ For visual changes, include screenshots. ]

Testing

  • Extensive tesitng with the context providers using bedrock as the embeddings provider.

chezsmithy avatar Sep 09 '24 04:09 chezsmithy