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
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.1.7.tar.gz.
File metadata
- Download URL: databridge_client-0.1.7.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0325fe58073d014dd13712204ecc892be4a415244237ed3c25af88609188289
|
|
| MD5 |
80bca3d92d7c52dfc71c424b2e0a0b4f
|
|
| BLAKE2b-256 |
c09c5ae1beedd5ded74e5e6aa360fccddc2ce88311ac6b3beab9eff8840bdfb7
|
File details
Details for the file databridge_client-0.1.7-py3-none-any.whl.
File metadata
- Download URL: databridge_client-0.1.7-py3-none-any.whl
- Upload date:
- Size: 8.6 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 |
0d88ab7fdfce2a8ba1ae0a9c2a3dc8ceef39b15d42d7c78f9eeca0190047cbec
|
|
| MD5 |
025b37df908d9248e222d17643ba99c7
|
|
| BLAKE2b-256 |
7ac7a947cdb8c5b57697398f5f0eaa957617ccbe6740b06335740c79392574a4
|