Skip to content

AWS Titan models Embeddings mismatch #1379

@luisgg98

Description

@luisgg98

AWS eu west Titan models vector dimension is wrong

Hello everyone,
I'm encountering an issue related to mismatched vector dimensions when working with Amazon Titan models.
According to the AWS documentation, the expected vector dimensions for these models are as follows:
Image

Trying to understand this issue, I discovered that the vector dimensions appear to be hardcoded.
They don`t match the dimensions specified in the AWS documentation.
Harcoded line: https://github.com/neo4j-labs/llm-graph-builder/blob/main/backend/src/shared/common_fn.py#L72

Image

It seems this discrepancy is causing the mismatched dimensions error.
Models I use are located on AWS servers on EU West 3 region.

Thank you for your time and effort🦾

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions