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.9.tar.gz (5.9 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.9-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: databridge_client-0.1.9.tar.gz
  • Upload date:
  • Size: 5.9 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.9.tar.gz
Algorithm Hash digest
SHA256 cc2f94209be12f56311fac54cb22480d4ef9cac5990bb7611167c2d08b2802ac
MD5 fa315f40028b6a89bc76a89fd32550f6
BLAKE2b-256 71652d197b7d472312078bdbda8def0c0342af2a5a592d7a21cd4479946aa02e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databridge_client-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6b7e068f8885813360f9d445a8ab63271c176de991d5847afecd09361e7fa267
MD5 1433baac07d87589715e019536c26753
BLAKE2b-256 8804965939b90abe7804d6b009a80f11293265dd0e85158308638c30827f64e3

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