DataBridge Python Client
Project description
DataBridge
A Python client for DataBridge API that enables document ingestion and semantic search capabilities.
Installation
pip install databridge-client
from databridge import DataBridge
# Initialize client
db = DataBridge("your-api-key")
# Ingest a document
doc_id = await db.ingest_document(
content="Your document content",
metadata={"title": "Example Document"}
)
# Query documents
results = await db.query(
query="Your search query",
filters={"title": "Example Document"}
)
# Process results
for result in results:
print(f"Content: {result.content}")
print(f"Score: {result.score}")
print(f"Metadata: {result.metadata}")
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
databridge_client-0.2.9.tar.gz
(22.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file databridge_client-0.2.9.tar.gz.
File metadata
- Download URL: databridge_client-0.2.9.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
645a90179bf58cd5083500653ecd7322ccb5e67c60464d0393671e096a64b1bc
|
|
| MD5 |
ec793de88a16e5647c0f45f6b3323729
|
|
| BLAKE2b-256 |
6e28998bd5f7554f3cefb2efe2d1871dd0d6db5d6ac75f2461a34082bdc83aad
|
File details
Details for the file databridge_client-0.2.9-py3-none-any.whl.
File metadata
- Download URL: databridge_client-0.2.9-py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f6445fd04586efa716cd3842e742e8ce0512104b013ae55d65b8f927a76e12f
|
|
| MD5 |
d3c692b99fd089ea3b084036c067a9e7
|
|
| BLAKE2b-256 |
41808dfe24df944d1d82ee6dd93ae9243e8a6058ab151ab6dbc55d0c357511b7
|