Skip to main content

Official Python SDK for Vika core data APIs.

Project description

vika-sdk

Official Python SDK for the Vika core data API.

Install

pip install vika-sdk

Publishing to PyPI does not require the source repository to be public, but official PyPI distributions are public once uploaded.

Usage

from vika_sdk import VikaClient

client = VikaClient(
    base_url="https://api.example.com",
    api_key="vk_xxx",
)

jobs = client.rag_streams.list_jobs(limit=10)
result = client.retrieve.run(
    namespace_id="ns_123",
    query="Tom tat cac thay doi moi nhat",
    top_k=5,
)

print(len(jobs["data"]), result["answer"])

Supported v1 surfaces

  • namespaces
  • ingest
  • documents
  • retrieve
  • logs
  • rag_streams

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

vika_sdk-0.1.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vika_sdk-0.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file vika_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: vika_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vika_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 009d3987575530b1f36c15dd7bfb4947213c29e80eb5f6c3fca96d9ffedfd7af
MD5 ce07e3df7c760fee5dd05fe8a5e9844f
BLAKE2b-256 a9247fa6ee1d4ef858d7657a1be85189e285ea6271df2cd504fbd1293ce922f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vika_sdk-0.1.1.tar.gz:

Publisher: publish-sdk-py.yml on xirothedev/vika

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vika_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: vika_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for vika_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5e39c73de0a08afc916a04a1d6ea23da688b3ac974adc65d8823329bc4df5c8a
MD5 f3b49d2ac3bc798412c687ae5ccae5d3
BLAKE2b-256 4aea979e58fcb1c266892860561a337973eb3fef68eb9f0fde8fff74e0f5f029

See more details on using hashes here.

Provenance

The following attestation bundles were made for vika_sdk-0.1.1-py3-none-any.whl:

Publisher: publish-sdk-py.yml on xirothedev/vika

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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