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

[vector] - list collections for a db #130

Closed
clun opened this issue Oct 25, 2023 · 2 comments
Closed

[vector] - list collections for a db #130

clun opened this issue Oct 25, 2023 · 2 comments

Comments

@clun
Copy link
Collaborator

clun commented Oct 25, 2023

astra db list-collections dbz
@clun
Copy link
Collaborator Author

clun commented Oct 26, 2023

Query with :

{
  "findCollections": {
       "options": {
          "explain" : true
        } 
   }
}

Get you

{
  "status": {
    "collections": [
      {
        "name": "events_vector",
        "options": {
          "vector": {
            "dimension": 2,
            "metric": "cosine"
          }
        }
      }
    ]
  }
}

@clun
Copy link
Collaborator Author

clun commented Nov 2, 2023

astra db list-collections test_astra_cli_vector
+------------------------+-----------+-----------+
| Name                   | Dimension | Metric    |
+------------------------+-----------+-----------+
| test_collection_simple |           |           |
| test_collection_vector | 1536      | cosine    |
| demo_vector            | 5         | cosine    |
+------------------------+-----------+-----------+

@clun clun added this to the 0.5 milestone Nov 2, 2023
@clun clun closed this as completed Nov 4, 2023
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