Welcome to the AI Assistants Framework! This repository contains the foundational code for creating versatile AI assistants capable of interacting through various front-end interfaces and utilizing interchangeable data layers. The goal is to create a powerful yet flexible assistants framework that can adapt to different user needs and environments.
- Multi-Front-End Support: The AI assistant can interact through different user interfaces, including CLI and Telegram.
- Interchangeable Data Layers: Easily swap out the underlying data storage solutions, such as SQLite or other databases.
- Extensible Architecture: Built with modularity in mind, allowing for easy addition of new features and integrations.
- User Data Management: Efficient handling of user data with a robust backend.
To get started with the AI Assistant Project, follow these steps:
-
Clone the repository:
git clone https://github.com/nihilok/assistants.git cd assistants
-
Install the dependencies:
For production dependencies:
pip install -r requirements.txt
For development dependencies:
pip install -r dev_requirements.txt
To interact with the assistant through the CLI, simply run:
python -m cli
To set up the Telegram bot, ensure you have the necessary API tokens configured as specified in environment.py
, then run:
python -m telegram_ui.tg_bot
You can customize the behavior of the assistant by modifying the ASSISTANT_INSTRUCTIONS
environment variable, which defaults to "You are a helpful assistant."
Contributions are welcome! If you have suggestions for improvements, please feel free to submit a pull request or open an issue.
- Fork the repository.
- Commit your changes.
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Thank you for checking out the AI Assistant Project! I hope you find it useful and inspiring.