Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] - Add new option to collection creation #166

Open
clun opened this issue Mar 8, 2024 · 0 comments
Open

[Feature] - Add new option to collection creation #166

clun opened this issue Mar 8, 2024 · 0 comments
Milestone

Comments

@clun
Copy link
Collaborator

clun commented Mar 8, 2024

Astra CLI can create collection but we need new options to be provided:

Field description
keyspace Keyspace, if not provided defaulting to default_keyspace
collection Name of the collection
embedding-provider Associate to vectorize, embedding provider
embedding-model Associate to vectorize, embedding model
dimension Vector dimension
indexing-allow List of fields to include in indexing
indexing-deny List of fields to exclude from indexing
default-id Default Id in the collection , accepted values are objectid, uuidv6,uuidv7,uuid
astra db create-collection mydb \
 --keyspace default_keyspace
 --collection collection1 \
 --embedding-provider openai \
 --embedding-model text-embedding-3-small \
 --dimension 1536
 --indexing-allow a,b,c
 --indexing-deny d,e,f
 --default-id uuid
@clun clun added the enhancement New feature or request label Mar 29, 2024
@clun clun added ready_for_release and removed enhancement New feature or request labels May 27, 2024
@clun clun added this to the 0.6 milestone May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant