hyeonseonam_auto-classifier/package.json
Thiago Moraes 1f89e4e38b
feat: Integrate Jina AI classification API (#40)
* feat: Add configurable multiple tag suggestions with max limit setting

* refactor: Move createLoadingNotice method before its usage in runClassifyTag

* fix: Add missing catch block and error handling in classifyTag method

* fix: Add nested try-catch for JSON parsing and improve error handling

style: Format code with consistent indentation and line breaks

* refactor: Remove max_suggestions from template and apply globally in classification logic

* refactor: Move max suggestions setting to main Advanced Settings section

* improve prompt adherence for JSON (#33)

* fix: imporove default prompt template to ensure valid JSON output.

* bump version to 1.2.1

* Fix JSON parse error when other GPT model used (#38)

* Integrate Jina AI for text classification - rebased

- Update package-lock.json
- Add JinaAI API client in src/jina-api.ts.
- Update settings (src/settings.ts) to include Jina AI engine selection, API key, base URL, and model.
- Modify main.ts to conditionally call Jina AI or ChatGPT based on selected engine.
- Adjust response parsing for Jina AI output.
- Add Jina API test button in settings.
- Hide ChatGPT-specific advanced settings when Jina AI is selected and
  vice-versa.
- Update manifest.json.
- Update .gitignore.

---------

Co-authored-by: Robin Tuszik <mail@robin.gg>
Co-authored-by: Hyeonseo Nam <auspice7g@gmail.com>
Co-authored-by: SophomoreSo <57844175+SophomoreSo@users.noreply.github.com>
2025-07-09 23:33:37 +09:00

25 lines
833 B
JSON

{
"name": "auto-classifier",
"version": "1.1.2",
"description": "This plugin automatically classify tag from your notes using ChatGPT API. It analyze your note (It can be title, frontmatter, content or selected area) and automatically insert tag where you set.",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"builtin-modules": "3.3.0",
"esbuild": "0.17.3",
"obsidian": "latest",
"tslib": "2.4.0",
"typescript": "4.7.4",
"openai": "4.76.1"
}
}