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.5.tar.gz (4.7 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.5-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for databridge_client-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2687f8dd0b24602a6a3306f42fb4c8512641ad03139b1d2457f54440b7c4617f
MD5 3ded2a89b22eab46eb144bb109916449
BLAKE2b-256 eed2867fc55902a8ff605fd5c6c4ec5d931ed4bba28e8f10f69e2d2c6d0ed05b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databridge_client-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0bc30a2bf84a04aa3d90782ba96c995a379b4b79fe77b9662e7c2571f8b35ca3
MD5 02c08a5b387f2f7967b75485e87f0ee9
BLAKE2b-256 d6e3de8f248d99c73a0ef01ea3a0594fc680de46221d2e2b0036d2a91c45be28

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