Metadata-Version: 2.4
Name: vika-sdk
Version: 0.1.0
Summary: Official Python SDK for Vika core data APIs.
Author: Vika
License: UNLICENSED
Keywords: vika,sdk,api
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# `vika-sdk`

Official Python SDK for the Vika core data API.

## Install

```bash
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

```python
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`
