Skip to main content

Python client library for Vera AI chatbot by Hession Dynamics

Project description

Verahession

Verahession is an intelligent conversational interface built for AI agents, supporting message sending, rewriting, and local intent classification.


🔧 Features

  • 🧠 Send and receive messages using an API-based LLM
  • ✍️ Rewrite user input intelligently
  • 🏋️‍♂️ Train a local intent classification model
  • 🔍 Detect user intent with confidence scoring

📦 Installation

git clone https://github.com/yourusername/verahession.git
cd verahession
pip install -r requirements.txt

🔑 API Key

To use the Vera API (LLM), you need an API key.
Visit hessiondynamics.com to request your key.


🚀 Example Usage

from verahession.api import vera_interface
from verahession.assistant import *

# Initialize Vera interface
vera = vera_interface(API_KEY="your_api_key_here", AGENT_NAME="Brian", USER_NAME="Jack")

# Send a message
message = input("You: ")
result = vera.send(message)
print("Vera says:", result.get("response", result))

# Rewrite a message
message = input("Text: ")
result = vera.rewrite(message)
print("Vera rewrites:", result.get("response", result))

# Train the intent classifier
bot_trainer = trainer("./intents.json", "./model.pth")
bot_trainer.train()

# Classify a new input
classifier = Classifier("./model.pth")
message = input("You: ")
intent, confidence = classifier.classify(message)
print(intent)
print(confidence)

📁 File Structure

  • verahession/api.py – Vera API interface (LLM)
  • verahession/assistant.py – Local trainer & classifier tools
  • intents.json – Training data for intent classification
  • model.pth – Output model file after training

📄 License

MIT License


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

verahession-0.1.8.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

verahession-0.1.8-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file verahession-0.1.8.tar.gz.

File metadata

  • Download URL: verahession-0.1.8.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for verahession-0.1.8.tar.gz
Algorithm Hash digest
SHA256 2efede6772d4ea7faede7b7ad4b9ac8eb4e6cbc179bff866f78231ad10ea4e2c
MD5 816e8f6739d54ddceea11f01879cb4b1
BLAKE2b-256 04f8edcc2e1f2c50630c4e6b0a8177500e4abefd6cad2790f7b0d58894f514de

See more details on using hashes here.

File details

Details for the file verahession-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: verahession-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for verahession-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 65d1d5b488835ddcb8661ed0bd882ab0518d9891b391931525070464d9438a69
MD5 e4889f54d37c295b138da5b434edecf1
BLAKE2b-256 f363e9b2c86192d9c35f53fbab8c0bde6f570da158d4e692c403661b3a8bd41d

See more details on using hashes here.

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