Experimental project using Langchain with OpenAI APIs and Wikipedia API.
This is an experimental project for generate a text on a topic that you want. The goal is to explore and demonstrate the capabilities of integrations with Langchain and potential applications.
- Python 3.x
- Langchain
- OpenAI API
- Wikipedia API
-
Clone the repository
-
Install the required packages using venv:
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
- Set up your OPENAI_API_KEY, creating an .env file into main folder
OPENAI_API_SECRET_KEY=<your_api_secret_key>
- Execute it using streamlit
cd src
streamlit run main.py
This project is licensed under the MIT License.