This project was custom-built to provide expert advice on contracts for users, such as union members and representatives. The goal is to streamline the process of getting contract-related information, reducing the need to navigate complex documents and systems. Recognizing the potential for automation, I utilized my programming skills to develop this tool. The application is designed to be user-friendly, efficient, and informative, ensuring that users receive accurate responses to their inquiries.
Contract Answerer is a web application built using Streamlit and Langchain, allowing users to interact with contract-related information easily. This tool utilizes OpenAI's language models to provide accurate answers to user queries, streamlining the process of obtaining contract insights.
- Ask questions about contracts and receive instant expert advice.
- Built with a user-friendly interface for ease of use.
- Integrates OpenAI's language model for accurate responses.
- Customizable settings for advanced users.
To run the application, you need to have Python installed on your machine. Then, follow these steps:
-
Clone the repository:
git clone <repository-url> cd <repository-folder>
-
Create a virtual environment:
Copy code python -m venv env
-
Activate the virtual environment:
bash Copy code source env/bin/activate On Windows: bash Copy code .\env\Scripts\activate
-
Install the required packages:
Copy code pip install -r requirements.txt
-
Obtain your own OpenAI API key. You will need this key to use the application effectively.
-
Run the application:
Copy code streamlit run app.py
Install the required packages and run the application as described in the installation section. Open your web browser and navigate to the local address provided by Streamlit. Enter your question regarding contracts in the input field and click "Submit." Review the expert response generated by the application. Please remember to obtain your own OpenAI API key, as it is required for the application to function.
V 1.0.0
Initial release with core functionality to answer contract-related questions. User-friendly interface with basic styling and layout.