This project explores how to connect to various LLM models powered by the transformer architecture to create a personal chatbot using the Hugging Face API and OpenAI API.
This project requires the following pacakges:
- langchain
- streamlit
- openai
- transformers
- huggingface_hub
To use the app, you will need an API key from Hugging Face and/or OpenAI. You can create an API key for either using the links below:
- OpenAI - https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key
- Hugging Face - https://huggingface.co/docs/hub/security-tokens
This project draws heavily from the following tutorials: