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.1.tar.gz (48.2 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.1-py3-none-any.whl (123.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vectorindexerapi_client-1.0.1.tar.gz
  • Upload date:
  • Size: 48.2 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.1.tar.gz
Algorithm Hash digest
SHA256 130ddda7e9587c4e71721b4a69bf1ca82f5e7f48e7ab717acfc96aa49364a2cb
MD5 c4e696d0001fbce4e834be65ff99b279
BLAKE2b-256 a516eb94ac94f0a7a4ca220636bb330f913b1fe60cd0514bff974d65336b9552

See more details on using hashes here.

Provenance

The following attestation bundles were made for vectorindexerapi_client-1.0.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for vectorindexerapi_client-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f8d9c2a107370d0b8e367a6e6eb2d1fd18bf9b42909f188fbc28d1f34010bf5
MD5 bc3ba918c2112b82676ad4eb2412f272
BLAKE2b-256 31354db83c306683fd2c79669cacdc052936c16a7886e6946d091e4a84a2b3e6

See more details on using hashes here.

Provenance

The following attestation bundles were made for vectorindexerapi_client-1.0.1-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