Welcome to the repository for the code accompanying the Medium article on "How to make a Recommender System Chatbot with LLMs" 🤖. The article explains the process of creating a session-based apparel recommender system chatbot using open source Large Language Models (LLMs) like OpenAI's ChatGPT.
Figure 1: System Design - Local Jupyter Notebook Development Flow and Recommendation Engine
env.yaml
: Environment file for Conda package manager. Use this for local development on Jupyter Notebook.
first_llm_prompt
: Text prompt for the first Large Language Model.second_llm_prompt
: Text prompt for the second Large Language Model.
-
myntra_dataset_feature-store_creation.ipynb
: Prepares the dataset and populates the feature store. -
recommender-with-both-llms.ipynb
: Contains the code for the recommendation system, querying from both Large Language Models, and how to interact with them.
Read the detailed guide on Medium: How to make a Recommender System Chatbot with LLMs
- Clone the repository:
git clone https://github.com/your-username/recommender-chatbot-llms.git
- Create a Conda environment:
conda env create -f env.yaml
- Activate the environment:
conda activate your-environment-name
- Open Jupyter Notebook and run the notebooks in the specified order.
Feel free to explore the code and adapt it for your own projects. If you have any questions or feedback, don't hesitate to open an issue or reach out.
Happy coding! 👩💻🚀