Skip to content

alloy-org/ai-plugin

Repository files navigation

AmpleAI Plugin

AmpleAI Plugin is an Amplenote plugin that adds OpenAI & Ollama interactivity with Amplenote.

Recent History

Installation

  1. Clone this repo. git clone [email protected]:alloy-org/openai-plugin.git
  2. Install node and npm if you haven't already.
  3. Run npm install to install the packages.
  4. Copy .env.example to .env and fill in the environment variable for your OpenAI key

Testing

Run NODE_OPTIONS=--experimental-vm-modules npm test to run the tests.

If it complains about jsdom being absent, run npm install -D jest-environment-jsdom and try again.

Testing with JetBrains

https://public.amplenote.com/F4rghypGZSXEjjFLiXQTxxcR

Run tests continuously as modifying the plugin

NODE_OPTIONS=--experimental-vm-modules npm run test -- --watch

Technologies used to help with this project

Run Ollama

OLLAMA_ORIGINS=https://plugins.amplenote.com ollama serve

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published