Skip to main content

SDK for envelope DB

Project description

Envelope AI SDK (wayfarer)

Installation

pip install envelope-ai

Quickstart

After you have a API key and a collection created on your envelope account

from wayfarer.wayfarer import Wayfarer

client = Wayfarer(api_key="<your-api-key-here>")

documents = {
    "embeddings": [1.0, 0, 0.8],
    "metadata": {label: "0"},
}

client.insert(documents=documents, collection_name="<your-collection-name>")  # You might prefer to use collection_id here instead

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

envelope_ai-0.0.7.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

envelope_ai-0.0.7-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

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