Skip to content

Any way to retrieve host from Pinecone #103

@maciekbanas

Description

@maciekbanas

When setting up a vector database connection with PINECONE_API_KEY user saves his index on a given host for a given user.

It means that multiple users can add the same index in their Pinecone working space. This may bring some confusion (e.g. in team work) when different users have different api keys and run the same code which does not result in processing the same Pinecone workspace:

my_project <- initialize_project("gitai-demo") |>
  set_database(
    provider  = "Pinecone", 
    index     = "gitai"
  ) |>
  set_llm(seed = 1014, api_args = list(temperature = 0))

It would be a good idea to have option to retrieve the data for a host or user with a public method (e.g. get_database_host()), to reduce confusion where does user save his data.

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