Skip to content

"SELECT VECTOR_EMBEDDING" returned result is wrong #39

Description

@zhaowei0315

Hello Team,
Greetings.
When I execute this sql "SELECT VECTOR_EMBEDDING('What is the meaning of the letters SAP?', 'QUERY', 'SAP_NEB.20240715') EMBEDDEDQUESTION FROM DUMMY;" in HC Explorer returns the list of decimals, it's fine. the list of vector was returned.

Image

but the result from below python code doesn't look good. it is totally different from HANA DB directly result.
sql = f'''SELECT VECTOR_EMBEDDING('What is the meaning of the letters SAP?', 'QUERY', 'SAP_NEB.20240715') EMBEDDEDQUESTION FROM DUMMY;''' data_pd = conn.sql(sql).head(1).collect() data_pd

Image

above python code works fine with hana_ml 2.26.25110400 and hdbcli 2.26.25, but after I upgrade hana_ml to the latest, it goes error.

please take a look, thank you.

Felix,
BR

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions