Skip to content

Commit 6bfb2e3

Browse files
authored
Merge pull request #26 from chloedia/feat/structured_generation
feat: add structured generation
2 parents 3a15fd8 + c78f73f commit 6bfb2e3

File tree

8 files changed

+484
-360
lines changed

8 files changed

+484
-360
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
# Obsidian Local FlashCard Generator
1+
<p align="center">
2+
<img src="images/logo.png" alt="QuizCraft Logo" width="300"/>
3+
</p>
24

5+
<h1 align="center">Obsidian FlashCard Generator</h1>
6+
7+
<p align="center">
8+
🚀 <strong>Supercharge your Obsidian workflow</strong>, the revolutionary Obsidian plugin designed to <strong>transform your notes into dynamic flashcards</strong>. Seamlessly harness the power of LLMs, such as GPT-4o, or any OSS LLM to effortlessly generate customized flashcards from your notes. Prepare for exams, retain crucial information, and enhance your learning experience like never before.
9+
</p>
310

4-
🚀 **Supercharge your Obsidian workflow with QuizCraft**, the revolutionary Obsidian plugin designed to **transform your notes into dynamic flashcards**. Seamlessly harness the power of LLMs, such as GPT-3 or GPT-4, or any OSS LLM to effortlessly generate customized flashcards from your notes. Prepare for exams, retain crucial information, and enhance your learning experience like never before.
511

612
## Features
713

@@ -14,14 +20,14 @@
1420
2. ⚙️ Access the plugin settings in Obsidian by navigating to `Settings` > `Flashcard Generator` under `Community Plugins`.
1521
3. ✅ Untoggle the "Use Local LLM" option if you want OpenAI.
1622
4. 🛠️ Enter your OpenAI API key in the designated field.
17-
5. 💻 Choose which model (gpt3.5 or gpt4) you want to use.
23+
5. 💻 Choose which model (gpt-4o or gpt-4o-mini) you want to use.
1824
6. 🔢 Choose whether to limit the number of questions to 10.
1925

2026
### Local LLM
2127
1. 🛠️ Install Ollama from [here](https://ollama.com/) and follow the instructions to install it locally.
2228
2. ⚙️ Access the plugin settings in Obsidian by navigating to `Settings` > `Flashcard Generator` under `Community Plugins`.
2329
3. ✅ Toggle the "Use Local LLM" option if you want to use local models instead of OpenAI.
24-
4. 💻 Choose which model from ollama you want to use (you need to run a Model from Ollama first).
30+
4. 💻 Choose which model from ollama you want to use (you need to pull the Model from Ollama first) - We recommend using llama3, knoopx/hermes-2-pro-mistral, or models certified being able to generate structured output.
2531

2632
⚠ You might have a CORS issue, to fix it, go in you terminal and run ```export OLLAMA_ORIGINS="app://obsidian.md*"```(mac/linux) or ```SETX /M OLLAMA_ORIGINS "app://obsidian.md*```on Windows
2733

images/logo.png

432 KB
Loading

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "flashcard-gen",
33
"name": "Flashcard Generator",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"minAppVersion": "0.15.0",
66
"description": "Craft insightful quizzes: Generate key questions/answers pairs from your notes effortlessly using Open ai's GPT-3/4 or local models. Elevate and optimize your learning journey.",
77
"author": "ChloeDia (improved by lulmer)",

0 commit comments

Comments
 (0)