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.8.tar.gz (5.0 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.8-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: databridge_client-0.1.8.tar.gz
  • Upload date:
  • Size: 5.0 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.8.tar.gz
Algorithm Hash digest
SHA256 3f9ec89a2373d0898a3b451fa8d4a3c54199c1f10d96b5cf906b06d989b4465e
MD5 031c4f06303256f4dde3a920773d3f93
BLAKE2b-256 07a181ed5b3dcb4a65d9ac082ce02466c119e3341bc9fec360a5780aebb3fa1f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databridge_client-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 cb229f10c76602fbc1cbd8e4baeec7c9f2058aa76fec8f54509197c0f2a2ae97
MD5 f08b9582dedb99258414677d735ebdfa
BLAKE2b-256 147867e408dd51527746877d191f56b4887d8f5d4ef3b67cd5d142b6e9b31285

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