Instructions to use Wellz1000/hermes-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- HERMES
How to use Wellz1000/hermes-2 with HERMES:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download web/src/plugins/types.ts from Wellz1000/hermes-2: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/Wellz1000/hermes-2/resolve/main/web/src/plugins/types.ts
- Command line
-
hf download hf://Wellz1000/hermes-2/web/src/plugins/types.ts
-
curl -L -o types.ts https://huggingface.co/Wellz1000/hermes-2/resolve/main/web/src/plugins/types.ts
1.18 kB
| /** Types for the dashboard plugin system. */ | |
| import type { ComponentType } from "react"; | |
| export interface PluginManifest { | |
| name: string; | |
| label: string; | |
| description: string; | |
| icon: string; | |
| version: string; | |
| tab: { | |
| path: string; | |
| /** "end", "after:<pathSegment>", "before:<pathSegment>" (e.g. "after:skills" → after `/skills`) */ | |
| position?: string; | |
| /** When set to a built-in route path, this plugin replaces that page instead of adding a new tab. */ | |
| override?: string; | |
| /** When true, the plugin may register without a sidebar tab (slot-only, etc.). */ | |
| hidden?: boolean; | |
| }; | |
| /** Declared for discovery; actual slots use registerSlot in the plugin bundle. */ | |
| slots?: string[]; | |
| entry: string; | |
| css?: string | null; | |
| has_api: boolean; | |
| /** | |
| * Optional Subresource Integrity hash (e.g. "sha384-..."). When set, | |
| * the browser will refuse to execute the plugin bundle if its hash | |
| * does not match. This protects against tampered plugin delivery. | |
| */ | |
| integrity?: string; | |
| source: string; | |
| } | |
| export interface RegisteredPlugin { | |
| manifest: PluginManifest; | |
| component: ComponentType; | |
| } | |