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.8.tar.gz
(19.7 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.8.tar.gz.
File metadata
- Download URL: databridge_client-0.2.8.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0ef6e706ee4b8da30a27d6225aec29ef28aec43fb40fd747fd213049a368d81
|
|
| MD5 |
3f7e9fde502734d1e2c9ad71077c8c86
|
|
| BLAKE2b-256 |
6d63b858d21735523cd7e5f09f6be380f1825ddf90d789ba589a9a43be9c0714
|
File details
Details for the file databridge_client-0.2.8-py3-none-any.whl.
File metadata
- Download URL: databridge_client-0.2.8-py3-none-any.whl
- Upload date:
- Size: 22.7 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 |
53c04289037ed014f1807e57244208c87012a7095ce9f7cff8763f21a17cb103
|
|
| MD5 |
170d49177784ac2d57a11d9ee9156ccb
|
|
| BLAKE2b-256 |
be29c4b71c24f11f27bfe4b15382270714ef5810a1e849739f37386cd87480d2
|