This Streamlit-based chatbot application assists users in preparing for interviews in various roles related to data science and engineering. It leverages the Google Generative AI model (Gemini-1.5-flash) to provide interview questions and detailed explanations based on user inputs.
App Link: https://llm-interview-guide-bhargavi.streamlit.app/
Youtube Video Link: https://www.youtube.com/watch?v=X5zxJI0dqTw&ab_channel=bhargavisikhakolli
Interview Preparation Page: Allows users to select a role (Data Science, Data Engineering, Data Analytics, ML Engineering) and receive a list of topics to cover for interview preparation.
Learning Mode: Users can choose a specific topic and learning level (Basics, Advanced Topics, Interview Questions) to get detailed explanations and interview questions generated by the AI model.
Ask a Question Page: Users can input a problem statement or question, and the chatbot generates a step-by-step solution using a predefined chain of thought pattern.
- Python 3.x p- ip
- Clone the Repository
git clone https://github.com/Venkata-Bhargavi/LLM-Interview-Guide.git
pip install -r requirements.txt
Create a .env
file in the root directory and add your Google API key:
GOOGLE_API_KEY=your_google_api_key_here
Execute the Streamlit app using:
streamlit run app.py
This will launch a local server. Open your browser and go to http://localhost:8501 to view the application.
Example: "What are the list of topics to be covered to crack {user_choice_role} interview?"
Example: "Imagine you are a {user_choice_role} interviewer, give most important and frequently asked interview questions on {user_topic} topics"
Example:
Solve the following problem step-by-step:
- Understand the Problem: Clarify what the problem is asking and summarize it.
- Identify Requirements: List the key requirements or constraints needed to solve the problem.
- Develop a Strategy: Outline a strategy or approach to solve the problem based on the requirements.
- Detailed Solution: Provide a detailed solution using a structured approach or algorithm.
- Implementation: If applicable, provide a code implementation or practical steps to achieve the solution.
- Example or Demonstration: Optionally, include an example or demonstration to illustrate the solution.
- Conclusion: Summarize the solution and discuss any considerations or optimizations.
- Select a role from the sidebar.
- Click "Get Started" to receive a list of topics related to the selected role.
- Choose a specific topic and learning level to view detailed explanations and interview questions.
- Navigate to the "Ask a Question" page.
- Enter the problem statement or question in the text input.
- Click "Get Answer" to receive a step-by-step solution generated by the chatbot.
- Ensure your Google API key is valid and has access to the Generative AI service.
- Customize the prompt patterns or add additional functionalities as per specific requirements.
- If encountering errors related to response handling or API connectivity, check your network connection and API key configuration.
- For issues specific to Streamlit or Python dependencies, refer to their respective documentation and community support.