Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ZadokJoshua/betakads-avalonia-app
Anki Generator Powered by AI || Best AI project - The Great .NET 8 Hack
https://github.com/ZadokJoshua/betakads-avalonia-app
Last synced: 27 days ago
JSON representation
Anki Generator Powered by AI || Best AI project - The Great .NET 8 Hack
- Host: GitHub
- URL: https://github.com/ZadokJoshua/betakads-avalonia-app
- Owner: ZadokJoshua
- License: mit
- Created: 2023-12-05T01:56:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T09:49:28.000Z (4 months ago)
- Last Synced: 2024-08-03T18:11:37.595Z (4 months ago)
- Language: C#
- Homepage:
- Size: 1.54 MB
- Stars: 16
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-avalonia - Betakads - An AI-powered flashcards generator. (Samples and Projects / Productivity)
README
# ⚡ Betakads
**AI-Powered Anki Flashcard Generator**Betakads simplifies the creation of Anki flashcards using AI. Choose a data source—either a PDF document or a YouTube video. The app extracts text from these sources, whether it's video captions or content from a PDF. Specify the number of flashcards you need, and Betakads will generate them, saving the results in a .txt format that is ready for easy import into Anki for seamless study and review.
## Getting Started
1. **Download the Model**
Download the `phi3-mini-4k-instruct-onnx` model to your local machine using the command:
```bash
git clone https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx
```2. **Configure the Model Path**
Insert the absolute path to the folder containing the `.onnx` file into the designated placeholder in the `ServiceCollectionExtensions.cs` file:
```csharp
public static void AddAIService(this IServiceCollection collection)
{
string modelPath = "";
collection.AddSingleton(new Model(modelPath)).AddSingleton();
collection.AddTransient();
}
```
#
![betakads window-initial state](/Images/Betakads-Fluent1.png)
![betakads window-result](/Images/Betakads-Fluent2.png)
#
**Prompt Reference:**
- [Casting a spell on ChatGPT: Let it write Anki cards for you — A Prompt Engineering Case - Jarrett Ye](https://medium.com/@JarrettYe/casting-a-spell-on-chatgpt-let-it-write-anki-cards-for-you-a-prompt-engineering-case-fd7d577b9d94)