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.2.1.tar.gz (7.1 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.2.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for databridge_client-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e752e95bbfede8fcb3f08991bb8b3afecdcab4b66cf12f499cb6c3dbbb9a4035
MD5 48e0eda3e9f521b46c62e851be5a527a
BLAKE2b-256 c76826b9940f86a6fe7efc4a0b6cbf344ded8b93c1a67d8625ec3b9e5e3bdab7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databridge_client-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b8d397c2f474cada94b7ae8f6633850ac27b59b5a39c0c15b8a36bb0ef16879
MD5 7125c3c72a5e989cdefe5d3fa91e1739
BLAKE2b-256 74f7fddef712e61e5809279e898c1f6b68ab91d03ecf1ade7541cf3315bb97a8

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