Skip to content

Being able to set the collection name for vector dbs #4135

@RHRolun

Description

@RHRolun

🚀 Describe the new functionality needed

Currently, the collection name is set to be the same as the id of a VectorStore, which is generated at creation time: https://github.com/llamastack/llama-stack/blob/main/src/llama_stack/core/routers/vector_io.py#L151
This new functionality would allow the user to send in the collection name as a parameter or extra parameter when creating the feature store through the client (client.vector_stores.create).

💡 Why is this needed? What if we don't build it?

This is needed to allow users to decide good collection names so that they are distinguishable when choosing which one to retrieve from.
If this is not implemented the users would have to add an extra layer to map between the randomized collection name and the useful one, which can become clunky at scale.

Other thoughts

No response

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