This project is a specialized chatbot designed to engage with users regarding their intentions, goals, and desires. Built using OpenAI and Streamlit, the bot is tailored to understand user aspirations across different domains such as professional careers, personal relationships, health and fitness, and long-term life planning. The bot features a time-tracking mechanism and can ingest user chats with ease.
-
Clone the repository or download the source code.
-
Install the necessary packages using the following command:
pip install -r requirements.txt
-
Create a
.envfile in the root directory of the project. -
Add the following environment variables to the
.envfile:INTERVAL_TIME_MINUTES=<time interval in minutes> USERNAME=<your username> WEAVIATE_URL = <weaviate url> WEAVIATE_API_KEY = <weaviate api key> OPENAI_API_KEY=<your OpenAI API key> MODEL=<model name>
-
Optional: If using the Telegram integration, make sure to input your Telegram Bot Token and Chat ID in the sidebar within the application. (DO NOT USE THIS YET)
-
Run the Streamlit application using the following command:
streamlit run main.py
-
The application will open in your web browser. You can then interact with the chatbot by typing your messages in the chat input box.
-
You can view and engage with the chatbot, and it will automatically update based on the time intervals set.
- Real-time Engagement: The bot automatically updates after specific intervals to keep the conversation going.
- Ingestion of User Chats: Chats are processed and ingested for later use or analysis.
- Customizable Time Tracking: You can customize the time intervals for automatic updates.
- Secure Environment Configuration: Utilizing the
.envfile ensures that sensitive information like API keys is securely handled. - Telegram Integration: Optional feature to connect with a Telegram bot for additional functionalities.
For any questions or support, please refer to the documentation or contact the development team.
Please include details about the license, if applicable.