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.3.0.tar.gz (22.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.3.0-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: databridge_client-0.3.0.tar.gz
  • Upload date:
  • Size: 22.5 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.3.0.tar.gz
Algorithm Hash digest
SHA256 c7f918f0f75c29e9aad651be0a3fbd2a10e0a064dc14130a88cd3b1ed6852de6
MD5 61f063ad693e1400bf33023fbf5be9ff
BLAKE2b-256 0a45e0a7d2fb04b87739cc83d813057c8d3604609d2002c3870e33ec78b9a6fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databridge_client-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4a1f254e4d8ea60c04c77ced24338ca3bd0b8fcaba04724ce47639a3f6c861e2
MD5 8ef0ff3babf886c1847791782aa2b5b7
BLAKE2b-256 3cdbb2c5e493b4e8abeea036e285aa64aabd56595edf7ebd7d0152e1b68a8593

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