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.2.tar.gz (7.5 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.2-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: databridge_client-0.2.2.tar.gz
  • Upload date:
  • Size: 7.5 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.2.tar.gz
Algorithm Hash digest
SHA256 7a474501569e3da65520d8ed8f4dcd3653b051b4ac9198c6fb68b5a77012613e
MD5 510bb556959e6d05c6091d017d5e8279
BLAKE2b-256 98dde762745b48483e8f13dbd2fc39be1e9ff7c759f050eef243da3c2f258454

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databridge_client-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c27507d1a68eb571405b10203bf4d6642c4bbdec51cf7e177814dfbe7b291b55
MD5 1dc840db6b6cfca86918f0fdfd98c60b
BLAKE2b-256 503394629013d820e2492f1ef04c29d9b292443c79bf9fbee029e3486ee31c95

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