Portfolio Details
Project information
- Category: Programming
- Project date: Feb 10, 2024
- Project URL: https://github.com/KeshavMalhotra10/flashcard
AI Flashcard Generator
This program is a Streamlit web app that generates study flashcards from user-provided text using OpenAI’s chat model via LangChain. It loads an API key from environment variables, prompts the model to create three concise question-and-answer flashcards in a fixed format, extracts and formats the results using regex, and displays the sorted flashcards interactively in the app.