SDK
KnowledgeVerse AI provides an official SDK in Python to help you integrate faster and with better type safety. This SDK is automatically generated from our API specification, ensuring they're always up to date with our latest features.
Getting Started with SDK
This guide helps you quickly set up the Python SDK and make your first successful request.
Prerequisites
Before you begin, make sure you have:
- Python 3.10 or higher
- pip (Python package manager)
- An API key / access credentials
- Internet access from your environment
To check Python version:
python --versionInstallation
pip install kv-platformSetup & Authentication
Import the SDK and configure it with your Access key.
Log in to the Platform dashboard and obtain an Access key from the Access Key page.
from kv_platform_sdk import Client
client = Client(
access_key="YOUR_ACCESS_KEY"
)Quick Start (First API Call)
from kv_platform_sdk import Client
client = Client(access_key="YOUR_ACCESS_KEY", timeout=10 * 60)
result = client.documents.list()
print(result)
client.close()