This repository contains an implementation of Groq function calling, utilizing the Llama-3-70B model for direct email sending functionality. With this setup, the Llama-3-70B (LLM) is capable of composing entire emails and sending them to your specified clients. The frontend interface is built using Streamlit, providing a user-friendly way to interact with the system. This integration allows LLMs to have real-life impact beyond simple conversational tasks.
- Clone the Repository: Begin by cloning the repository to your local machine. Once cloned, navigate to the repository directory in your terminal.
- Install Dependencies: Use pip to install the required dependencies listed in the requirements.txt file.
pip install -r requirements.txt
- Generate Groq API Key: Visit the GROQ to generate a free API key. Replace the placeholder API key in the
.envfile with the one you've generated. - Create Google App Password: Follow the instructions provided in Google's documentation to create an app password. This password will be used for sending emails via Gmail. Update the
.envand also add your email id. - Run the Streamlit App: Execute the Streamlit app using the following command:
streamlit run app.py