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.6.tar.gz
(18.8 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.6.tar.gz.
File metadata
- Download URL: databridge_client-0.2.6.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
750388f6a8f75cbb437e40792882226f598e53320c29f99fd637e1e5127c9f5b
|
|
| MD5 |
a80ad8eaa454b8d3ea6aa62e7aeb9123
|
|
| BLAKE2b-256 |
0b7e7a9b4690470133e6c263903fe97024dd36110d1a781056461618945927ea
|
File details
Details for the file databridge_client-0.2.6-py3-none-any.whl.
File metadata
- Download URL: databridge_client-0.2.6-py3-none-any.whl
- Upload date:
- Size: 21.8 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 |
cbf84a70c176493048b6ed3c21c6f45a2690e7b7f088102b19c48cfc91305d36
|
|
| MD5 |
433e5260afde23ebf90a53c96e482a6a
|
|
| BLAKE2b-256 |
e373134eb3d5bbcd802a189d472d7b74b5776e426f90d12eb81ee3ca90b6f0da
|