The template is wrong with what the plugin expects. It expect the json with a property "outputs", and not "output". And it also expect an array of categories instead of selected_category
- Edit Openai engine to Openai-compatible engine
- Enhance error messages for specific API response statuses (401, 403, 429, 500).
- Update notices for missing API keys and classification limits in AutoClassifierPlugin.
- Refactor settings to provide clearer descriptions and examples for API configurations.
- Add token usage information in success messages for Jina AI API calls.
* 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>