Skip to content

[Feature] Allow pinecone_sdk::protos::Vector.values to be a string #69

@AndrewOt

Description

@AndrewOt

Is this your first time submitting a feature request?

  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing functionality

Describe the feature

Currently I am only able to upload vectors with values set to a vector of floats. It would be nice to have feature parity with the other sdks that allow values to be a string.

Current api

Vector {
  id: "myThing",
  values: vec![1.0, 2.0],
  etc.
}

What I would like to see

Vector {
  id: "myThing",
  values: "This is a test", // this could also be String::from("This is a test"), either is fine
  etc.
}

Describe alternatives you've considered

The javascript api.

Who will this benefit?

Rust sdk consumers.

Are you interested in contributing this feature?

Depends on complexity of implementation.

Anything else?

Javascript sdk example: https://docs.pinecone.io/guides/index-data/upsert-data#upsert-text

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions