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.
When setting up a vector database connection with
PINECONE_API_KEYuser saves his index on a givenhostfor a givenuser.It means that multiple users can add the same
indexin their Pinecone working space. This may bring some confusion (e.g. in team work) when different users have differentapi keysand run the same code which does not result in processing the same Pinecone workspace:It would be a good idea to have option to retrieve the data for a
hostoruserwith a public method (e.g.get_database_host()), to reduce confusion where does user save his data.