Skip to content

Anki Generator Powered by AI || Best AI project - The Great .NET 8 Hack

License

Notifications You must be signed in to change notification settings

ZadokJoshua/betakads-avalonia-app

Repository files navigation

⚡ 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:

    git clone https://huggingface.co/microsoft/Phi-3-mini-4k-instruct-onnx <FOLDER_PATH>
  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:

    public static void AddAIService(this IServiceCollection collection)
    {
        string modelPath = "<MODEL_PATH>";
        collection.AddSingleton(new Model(modelPath)).AddSingleton<Tokenizer>();
        collection.AddTransient<IAIService, AIService>();
    }

betakads window-initial state betakads window-result

Prompt Reference:

About

Anki Generator Powered by AI || Best AI project - The Great .NET 8 Hack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages