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

Vectorize support + nonAstra databases for v1.2.0 #280

Merged
merged 53 commits into from
May 22, 2024

Conversation

hemidactylus
Copy link
Collaborator

Non-Astra environment awareness:

  • astrapy.constants.Environment enum for the "environment" parameter to client, etc
  • flexibility and adaptive defaults for data api url
  • environment knowledge trickles throughout all classes (client, admins, databases)
  • DataAPIDatabaseAdmin class (i.e. for namespace CRUD)
  • (internal) astrapy.api_commander.APICommander
    (internal) astrapy.api_options.{BaseAPIOptions, CollectionAPIOptions}
    $vectorize support:
  • "service options" for creating/retrieving collections, covering $vectorize needs
  • embedding_api_key parameter to collection (for "header" usage)
    collection-level timeout parameter (overridable in single method calls)
    expand "projection" type to include slice projections
    client.get_database can accept an API endpoint directly
    insert_many and bulk_write default to ordered=False

@hemidactylus hemidactylus merged commit cb881ee into master May 22, 2024
2 checks passed
@hemidactylus hemidactylus deleted the SL-nonastra-databases branch May 22, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant