𧬠A VS Code extension for annotating data with Prodigy
MIT License
This repo contains a VS Code extension for Prodigy, our scriptable annotation tool for creating training data for machine learning models. It lets you run Prodigy within a VS Code Panel, and annotate as you develop your models and applications.
In order to use this extension, you'll need a license for Prodigyβsee this page for more details. For issues and questions, please use the Prodigy Support Forum. If you've found a bug, feel free to submit a pull request
Get from the VS Code marketplace
Start a Prodigy session in a terminal, e.g.:
prodigy ner.manual my_set blank:en example/news_headlines.jsonl --label PERSON,ORG,PRODUCT
In VS Code, open the Command Palette (Ctrl + Shift + P)
and select Open Prodigy
. Execute it, and you will have a new Prodigy panel on the side.
This extension contributes the following settings:
Configuration | Description |
---|---|
vscode-prodigy.url | Set the URL where Prodigy is being served at. Useful when you're in a reverse proxy. |
You need Visual Studio Code and Typescript for development. First, clone this repository:
git clone [email protected]:explosion/vscode-prodigy.git
and open the vscode-prodigy
folder in Code:
cd vscode-prodigy
code .
Open Prodigy
.src/extension.ts
to debug your extension.src/extension.ts
.Extension Tests
.src/test/suite/extension.test.ts
or create new test files inside the test/suite
folder.
**.test.ts
.