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

Uploaded Python 3

File details

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

File metadata

  • Download URL: databridge_client-0.2.0.tar.gz
  • Upload date:
  • Size: 6.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.2.0.tar.gz
Algorithm Hash digest
SHA256 ec6e62acb41844fbea88674c94718cb5248ec219d9b61b0201ddf72a296fa34d
MD5 cc42ddb873940d3f1b59b7d0a0fff1d8
BLAKE2b-256 1e1d3917fd49e1204d082783e1308d37c474bc3477a342b6bdd9d9f25b8e8392

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databridge_client-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 404fb594f2025f43055c710a97041db8d49cd9be2ec0760c7b7d3919a4c47943
MD5 9aa40eda4fcf071eac7a737b6e56c40a
BLAKE2b-256 81a73c1b3226d7c6ed745def4e96f61498a77489ef40130f4c04a63d9d9e7dfd

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