This is the demo for the LLM powered accounting system
System Configuration
- pip version - 23.2.1
- python version - 3.9
Project Requirements
- waitress - to serve the app
- Flask - to create the app
- google-generativeai - to integrate the LLM
Installing Dependencies
pip install -r requirements.txt --no-cache
Running Application
You need to enter your API key gotten from Google AI Studio in the index file
genai.configure(api_key="<YOUR_API_KEY_HERE>")Run the application
python src/index.py
Start Chat
For test purposes, the chat session resets each time you start the server
http://localhost:3000/chatRequest Body
On the first message the AI is expecting a prompt for the operation to be carried out
{
"message": '<Enter your message here>'
}