Skip to content

A basic, beginner friendly RAG app for personalised study help.

Notifications You must be signed in to change notification settings

Ayesha-Imr/Study-Space-RAG-Demo-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Study Space

Study Space is a basic, beginner friendly RAG app for personalised study help that allows you to interact with your uploaded documents. You can:

  • Ask questions and get precise answers based on the document content.
  • Generate quizzes to test your knowledge.
  • Get MCQs to test your understanding.
  • Create flashcards for learning and revision.

Setup Instructions

Follow these steps to set up and run the app:

1. Clone the Repository

git clone https://github.com/Ayesha-Imr/Study-Space-RAG-Demo-App.git
cd Study-Space-RAG-Demo-App

2. Create and Activate a Virtual Environment

On Windows:

python -m venv myvenv
myvenv\Scripts\activate

On macOS/Linux:

python3 -m venv myvenv
source myvenv/bin/activate

3. Install the Requirements

Install the required dependencies using the requirements.txt file:

pip install -r requirements.txt

4. Set Up API Keys

The app requires two API keys:

  1. Cohere API Key

  2. Groq API Key

Once you have both keys, do the following:

  • Open the env.txt file in the root directory.
  • Paste the API keys into the appropriate placeholders. The format should look like this:
COHERE_API_KEY="<your-cohere-api-key>"
GROQ_API_KEY="<your-groq-api-key>"
  • Save the file and rename it to .env (remove the .txt extension).

5. Run the App

Navigate to the streamlit-app folder:

cd streamlit-app

Run the app using the following command:

streamlit run app.py

6. Access the App

After running the command, Streamlit will provide a local URL. Open the URL in your browser to start using Study Space.


That's it! Your app should now be running. If you encounter any issues, double-check the setup steps or refer to the relevant documentation for troubleshooting.

About

A basic, beginner friendly RAG app for personalised study help.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published