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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

databridge_client-0.1.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for databridge_client-0.1.3.tar.gz
Algorithm Hash digest
SHA256 cd7ced8f62ccc281e0e937e7c8dc7ff3a187e29e67ef7498463e1c5f0355cda1
MD5 457b0862db8d877b994c1eb10ec3ae01
BLAKE2b-256 aab5d105624f8af002e1a0259fcb2c350692522da9bc6e6e0cdec26702b46323

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databridge_client-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9d81a5ace9ceb17fa1d9bdee895f7890a135580d381b865fe53001103a2d7d62
MD5 2a63bc39ac7510970ba50a9fdd3e6544
BLAKE2b-256 64e538f7f1f9eeb0cee67b7d4e7ab7ce51f464974823113807e42df002dfbaf4

See more details on using hashes here.

Supported by

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