SDK for Starpoint DB
Project description
Starpoint AI SDK
Installation
pip install starpoint
Quickstart
After you have a API key and a collection created on your starpoint account
from starpoint.db import Client
client = Client(api_key="YOUR_API_KEY_HERE")
documents = [
{
"embedding": [0.1, 0.2, 0.3, 0.4, 0.5],
"metadata": {
"label1": "0",
"label2": "1",
}
},
]
// Instead of collection_name you can also use collection_id="COLLECTION_ID"
client.insert(documents=documents, collection_name="COLLECTION_NAME")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
starpoint-0.0.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for starpoint-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dd07bee0163cb79282977cff3aa404a378a7b8ebcdd11c11316cfc2dc29d2a3 |
|
MD5 | 4a26ae86f127e06f1dd6e323f03103d4 |
|
BLAKE2b-256 | 357bcb81b268efb310b95ddbf48553fc0233f313b6941ca3f9be1477c748bd64 |