Skip to main content

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


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.1.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

databridge_client-0.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file databridge_client-0.1.1.tar.gz.

File metadata

  • Download URL: databridge_client-0.1.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for databridge_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 915f15c03694a4ca6331ce01a667a1891041414c7824b445b06771e47773a2ff
MD5 f54e00e8d20fb658d826d9c7af2e054b
BLAKE2b-256 c8a39869e8cdcd7e38e5fb0ad3b8d3aa656c5473a9c92d690bce6a341b349ab5

See more details on using hashes here.

File details

Details for the file databridge_client-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for databridge_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e84463695359d0234f3191b145f0a08a6552e6b81486f6548e6ca69d1c17146
MD5 a72efb25d84552364092ef61e6588437
BLAKE2b-256 181fb4bab0dd1f3aa8ab819692147a4dfb4130f4a56802014fd32d1490b10e4b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page