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
namespacesingestdocumentsretrievelogsrag_streams
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vika_sdk-0.1.0.tar.gz.
File metadata
- Download URL: vika_sdk-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5af75cfd328c06e9acfcdfa4f486030f7a47ac7c69983fcb2513a512c8a8b8c7
|
|
| MD5 |
afaf175784d4adf60fbcb41446d4d939
|
|
| BLAKE2b-256 |
46bb05aa9eb69765ea64d16123dcb36a5f867a166f8ad082f2c30d01b2c331af
|
Provenance
The following attestation bundles were made for vika_sdk-0.1.0.tar.gz:
Publisher:
publish-sdk-py.yml on xirothedev/vika
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vika_sdk-0.1.0.tar.gz -
Subject digest:
5af75cfd328c06e9acfcdfa4f486030f7a47ac7c69983fcb2513a512c8a8b8c7 - Sigstore transparency entry: 1270808165
- Sigstore integration time:
-
Permalink:
xirothedev/vika@9e597f4013a007359eb7dbc9b816685b7605d323 -
Branch / Tag:
refs/tags/sdk-py-v0.1.0 - Owner: https://github.com/xirothedev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk-py.yml@9e597f4013a007359eb7dbc9b816685b7605d323 -
Trigger Event:
push
-
Statement type:
File details
Details for the file vika_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vika_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a43d222d0903dc52d2df485d41fba80cadae26fc3711f4af54f4bfbd101fa730
|
|
| MD5 |
0cff4671882df4d8e778c97652693ec7
|
|
| BLAKE2b-256 |
94c258d91f1d9c330cfa4045a86d19f627fe35c2b8c06901b28efb8f33058160
|
Provenance
The following attestation bundles were made for vika_sdk-0.1.0-py3-none-any.whl:
Publisher:
publish-sdk-py.yml on xirothedev/vika
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vika_sdk-0.1.0-py3-none-any.whl -
Subject digest:
a43d222d0903dc52d2df485d41fba80cadae26fc3711f4af54f4bfbd101fa730 - Sigstore transparency entry: 1270808171
- Sigstore integration time:
-
Permalink:
xirothedev/vika@9e597f4013a007359eb7dbc9b816685b7605d323 -
Branch / Tag:
refs/tags/sdk-py-v0.1.0 - Owner: https://github.com/xirothedev
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk-py.yml@9e597f4013a007359eb7dbc9b816685b7605d323 -
Trigger Event:
push
-
Statement type: