Skip to main content

VectorIndexer API

Project description

openapi-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.0
  • Package version: 1.0.0
  • Generator version: 7.20.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Getting Started

Please follow the installation procedure and then run the following:

import vectorindexerapi_client
from vectorindexerapi_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = vectorindexerapi_client.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure API key authorization: APIKeyHeader
configuration.api_key['APIKeyHeader'] = os.environ["API_KEY"]

# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['APIKeyHeader'] = 'Bearer'


# Enter a context with an instance of the API client
with vectorindexerapi_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = vectorindexerapi_client.CollectionApi(api_client)
    collection_name = 'collection_name_example' # str | 
    services = ["qdrant","typesense"] # List[ServiceType] | List of services to delete the collection from (e.g. qdrant, typesense) (optional) (default to ["qdrant","typesense"])

    try:
        # Delete Collection
        api_response = api_instance.delete_collection_collection_collection_name_delete(collection_name, services=services)
        print("The response of CollectionApi->delete_collection_collection_collection_name_delete:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling CollectionApi->delete_collection_collection_collection_name_delete: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
CollectionApi delete_collection_collection_collection_name_delete DELETE /collection/{collection_name} Delete Collection
CollectionApi get_collection_status_collection_collection_name_status_get GET /collection/{collection_name}/status Get Collection Status
CollectionApi list_collections_collection_get GET /collection/ List Collections
CollectionApi post_collection_collection_collection_name_post POST /collection/{collection_name} Post Collection
CollectionDocumentApi delete_doc_collection_collection_name_document_document_uuid_delete DELETE /collection/{collection_name}/document/{document_uuid} Delete Doc
CollectionDocumentApi post_doc_collection_collection_name_document_post POST /collection/{collection_name}/document/ Post Doc
CollectionDocumentApi put_doc_collection_collection_name_document_document_uuid_put PUT /collection/{collection_name}/document/{document_uuid} Put Doc
CollectionDocumentsBatchApi delete_docs_collection_collection_name_documents_delete DELETE /collection/{collection_name}/documents/ Delete Docs
CollectionDocumentsBatchApi post_documents_collection_collection_name_documents_post POST /collection/{collection_name}/documents/ Post Documents
CollectionDocumentsBatchApi put_documents_collection_collection_name_documents_put PUT /collection/{collection_name}/documents/ Put Documents
SearchApi search_search_post POST /search/ Search
SearchApi search_simple_search_get GET /search/ Search Simple
StatusApi root_get GET / Root

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

APIKeyHeader

  • Type: API key
  • API key parameter name: API-KEY
  • Location: HTTP header

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vectorindexerapi_client-1.0.0.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vectorindexerapi_client-1.0.0-py3-none-any.whl (121.2 kB view details)

Uploaded Python 3

File details

Details for the file vectorindexerapi_client-1.0.0.tar.gz.

File metadata

  • Download URL: vectorindexerapi_client-1.0.0.tar.gz
  • Upload date:
  • Size: 48.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vectorindexerapi_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 43c12c25d7dcdcffec230639086f730be60f84ed62422144d2224c436aef3ad4
MD5 e03f65a906779874a630d9a28ffe7d74
BLAKE2b-256 35def974480804beed194de847f68d8f9d8adcfa6add545ab867ffb57374b047

See more details on using hashes here.

Provenance

The following attestation bundles were made for vectorindexerapi_client-1.0.0.tar.gz:

Publisher: publish-python-client.yml on educorvi/edi.vectorindexerapi-clients

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vectorindexerapi_client-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for vectorindexerapi_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98148d1bccdb26723fa8f59a93b979f7da92a8c3ff9e7f669ddac78012c92e29
MD5 931fd0de8cde7ddf544bc2645747fff6
BLAKE2b-256 196af83cd79dcd44516501fa5e21036f39159f3ea6910dc14a47c6f11b152b1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for vectorindexerapi_client-1.0.0-py3-none-any.whl:

Publisher: publish-python-client.yml on educorvi/edi.vectorindexerapi-clients

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page