This project is a conversational AI chatbot built with LangChain, Groqβs Chat API, and Gradio, designed to simulate a professional chat with "Javiera". The chatbot provides natural, human-like responses while enforcing privacy restrictions on sensitive topics. π¬
- Natural language conversation: Uses a custom system prompt to provide coherent and context-aware responses.
- Privacy protection: Blocks questions on predefined restricted topics.
- Interactive interface: Built with Gradio for a user-friendly web-based chat experience.
- Example questions: Provides pre-defined prompts to guide users.
- Lightweight LCEL chain: Simple LangChain chain for prompt handling without complex context management.
- Python 3.11+
- LangChain Core
- LangChain Groq
- Gradio
- Groq LLM (
llama-3.1-8b-instant)
You can use the hosted version of the chatbot:
π Run Javiera AI Chatbot on Hugging Face Spaces
- π±οΈ The Gradio interface is fully functional in the browser.
- π« No local setup required.
- π¬ Just type your question and interact with the bot directly.
- π Tell me about yourself
- π What's your background?
- π» How did you get into tech?
- π Where have you lived?
- π What programming languages do you know?
- π’ What kind of work environment do you thrive in?
- π What's your experience with data analytics?
- π©πͺ Why do you like living in Germany?
- π¨ Tell me about your interests and hobbies
