This project leverages the power of OpenAI's GPT models using Langchain to provide a robust chatbot for Microsoft Copilot studio and Power Automate platforms. Our solution enriches backend operations with advanced NLP capabilities to process user input effectively and generate meaningful responses.
- LLM Backend: Uses Azure deployment of OpenAI's GPT models.
- Data Preprocessing: Advanced data preprocessing module to optimize user input for GPT model consumption.
- Prompt Engineering: Utilizes prompt templates to guide the GPT models and produce tailored responses suitable for chatbot interactions.
- Integration with Power Platforms: Designed to be seamlessly integrated with Microsoft's Power Virtual Agent and Power Automate platforms.
- Python 3.11 or higher.
- OpenAI Azure Deployment.
- Microsoft's Power Virtual Agent and Power Automate platforms account.
-
Clone the Repository:
git clone [repo_link] cd [repo_directory]
-
Install Dependencies:
pip install -r requirements.txt
-
Environment Variables: Copy the
.env.example
to.env
and update the variables including the OpenAI API Key, API base URL, etc. -
Run the Backend:
python api.py
-
Start the Streamlit UI:
python app.py
-
Navigate to the provided URL in your browser. Input the desired genre, characters, and news text. Click on "Begin!" to get the novel based on your inputs.
We welcome contributions! Please create an issue to discuss the proposed changes or submit a pull request.