Python client for Vox Engine Service
Project description
Vox Engine Python SDK
The Vox Engine Python SDK provides a seamless way to interact with the Vox Engine Service, enabling developers to integrate AI-powered conversational agents with persistent cloud storage, API integrations, and structured thread management.
Features
- Real-Time AI Conversations – Send queries and get AI-generated responses instantly.
- Thread-Based Conversation Management – Maintain persistent conversation threads.
- Cloud Storage Integration – Store interactions across multiple sessions.
- External API Integration – Seamlessly connect with external services.
- Configurable AI Personalities – Adjust tone, language, and verbosity.
- Scalable & Secure – Uses API keys and authentication for secure requests.
Installation
To install the package, run:
pip install minerva_cloud_vox_sdk
Usage
Initializing the Client
To use Minerva Vox, create a client instance with your Project ID and API Key:
from minerva_cloud_vox_sdk import Client
# Initialize client
agent = Client(
key="YOUR_PROJECT_ID",
secret="YOUR_API_KEY"
)
Sending a Query
Interact with Vox by sending a query:
response = agent.interact({
"query": "Tell me a joke"
})
print(response)
Example Response:
{
"status": "success",
"response": "Why don’t skeletons fight each other? They don’t have the guts!"
}
Customizing the AI Personality
You can modify tone, language, and verbosity for personalized responses.
response = agent.interact({
"query": "Tell me a joke",
"plugins": {
"personality": {
"tone": "casual",
"language": "French",
"verbosity": "low"
}
}
})
print(response)
API Reference
Client Methods
interact(request: dict) -> dict:
Sends a request to Minerva Vox and retrieves an AI-generated response.
Request Parameters
| Field | Type | Required | Description |
|---|---|---|---|
query |
str |
✅ Yes | User's question/query |
threadId |
str |
❌ No | Thread ID for conversation continuity |
plugins |
dict |
❌ No | Optional configuration for AI behavior |
Personality Plugin Options
Customize the AI response style using personality settings inside plugins:
| Field | Type | Default | Description |
|---|---|---|---|
tone |
str |
"persuasive" |
AI's communication tone |
language |
str |
"English" |
Language of the response |
verbosity |
str |
"high" |
Controls response length/detail |
Example API Request
{
"query": "What can you do?",
"threadId": "thread-456",
"plugins": {
"personality": {
"tone": "friendly",
"language": "English",
"verbosity": "high"
}
}
}
Example API Response
{
"status": "success",
"response": "Hi, why don't we start with defining what you need?"
}
Common API Errors
Below are common errors users may encounter and how to resolve them.
| Status Code | Error Type | Resolution |
|---|---|---|
401 |
Unauthorized | Ensure your API key is valid and included in the Authorization header. |
404 |
Not Found | Verify the projectId and threadId are correct. |
500 |
Internal Server Error | Server-side issue. Contact support if the issue persists. |
Licensing
This project is licensed under the MIT License.
Contact & Support
For issues or feature requests, open a ticket on GitHub.
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 minerva_cloud_vox_sdk-1.0.7.tar.gz.
File metadata
- Download URL: minerva_cloud_vox_sdk-1.0.7.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dc2dfe4f707eeb0ba9e698c681a42209951e49343d8206309aea7a154822b12
|
|
| MD5 |
ea25818dd8f60c9a7ade753fc5e6a2dd
|
|
| BLAKE2b-256 |
992611e33c013a280ec4170af35d78ac15c0bb8ebda18da8958b8d44f1fac717
|
File details
Details for the file minerva_cloud_vox_sdk-1.0.7-py3-none-any.whl.
File metadata
- Download URL: minerva_cloud_vox_sdk-1.0.7-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0467da19f7c17401b2ed9184de087cad44e3f5cea44f08b2b95d8f024a0465c
|
|
| MD5 |
209247631f544433b950781178bcdfe0
|
|
| BLAKE2b-256 |
e333de466d2166c4175e683deaf5480ba828a8456c0cf11fd0c8c4ada0d6c344
|