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
Built Distribution
File details
Details for the file databridge_client-0.1.2.tar.gz
.
File metadata
- Download URL: databridge_client-0.1.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79c123ce0ece6b0f6e2a47dba3b741734b0343bd8d7d33342e692ff2b9feb263 |
|
MD5 | 63f1feb04494392c3cdd1308aa309461 |
|
BLAKE2b-256 | d942e552e4badc078315bd6ddea0ecd3957a2e15ecc15798279233d530546716 |
File details
Details for the file databridge_client-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: databridge_client-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61a6067af90610fdeb314d040d3f33eda8a1efe0d8789b728f6b752fbae1a6a3 |
|
MD5 | c0c0df6f7dc761796398d12ea2a81768 |
|
BLAKE2b-256 | 426fd5dba7305f5a396feb4f4135e5c1fb84b86ba418fccf41987b00cfa5eac5 |