This repository accompanies a Medium post on developing robust LLM-based applications and demonstrates an example of identifying animals using a Large Language Model (LLM). This dummy application predicts whether a described animal is a cat, dog, or turtle, focusing on avoiding parser errors and ensuring reliable performance.
To set up the environment, install the necessary packages using pip:
pip install langchain
pip install langchain_openai
pip install python-dotenv
-
OpenAI API Key: Obtain your OpenAI API key and store it in a
.env
file:OPENAI_API_KEY=<Your OpenAI Key>
Refer to the Medium post for a detailed step-by-step guide on how to use this repository to build the animal identification application.
This project is licensed under the MIT License.
For any questions or feedback, feel free to contact the project maintainers. Email: [email protected] / [email protected]