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

Uploaded Source

Built Distribution

databridge_client-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for databridge_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6fe2c27da850278b3a6894a284bd47136106cf4df2dd70231db95ee684fb6b36
MD5 8863a6823846605b6c36bd19344446c9
BLAKE2b-256 34bc62785ff6efddd2f1d8745fc6cac5cd68299afff90d575b80f4925d0eafb3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databridge_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 649226acf5082979c80776eb34cb6b5329b8e783b7904917fdc5a5974107b767
MD5 fe29370c0debbf2fb901667d5332b87d
BLAKE2b-256 459cdda84e97e500d466318b9d9ced1d2c39afd1f78e133aa6feb007a2ab40cf

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