DataBridge Python Client
Project description
DataBridge
A Python client for DataBridge API that enables document ingestion and semantic search capabilities.
Installation
pip install databridge
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file databridge_test-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: databridge_test-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b29982588438dd15c361c7830b77a68289c447202bc674ecf6472f3959fa3d5 |
|
MD5 | c62b44f3202a31178700742627ba6410 |
|
BLAKE2b-256 | 8697756c9d2d5c7a92d52b4a26174ab0a573702cfa8c1d8e8cadfbef9a1edad5 |