WARNING: this is still a work in progress and isn't usable yet!
Welcome to the Anam Python SDK. This SDK provides tools for creating and managing virtual personas using the AnamLab platform.
- Create and manage virtual personas
- Interact with the AnamLab platform
- Customize persona behaviors and responses
To install the Anam Python SDK, use:
pip install anam-python-sdkor
poetry add anam-python-sdk- Python 3.7 or higher
- pip (Python package installer)
- Create a
.envfile in your project root directory. - Add your API credentials to the
.envfile:
ANAM_API_KEY=<your_api_key>Here's a simple example of how to use the AnamClient:
from anam_python_sdk.api.client import AnamClient
from dotenv import dotenv_values
# Load configuration from .env file
api_cfg = dotenv_values(".env")
# Create an AnamClient instance
client = AnamClient(cfg=api_cfg)
# Get persona presets
persona_presets = client.get_persona_presets()
print("Persona Presets:", persona_presets)
# Get existing personas
personas = client.get_personas()
print("Personas:", personas)For more detailed information on using the SDK, check out the User Guide.
For comprehensive documentation, please refer to the following sections:
This project is licensed under the MIT License. See the LICENSE file for details.