hub section first pass
This commit is contained in:
parent
288b14a3a5
commit
9c2e4000c2
10 changed files with 41 additions and 35 deletions
|
|
@ -11,23 +11,29 @@ Bundles are collections of blocks that are commonly used together. You can use t
|
|||
|
||||
## Use a bundle
|
||||
|
||||
Once you know which block you want to use, you’ll need to
|
||||
Once you know which bundle you want to use, you’ll need to
|
||||
|
||||
1. Make sure the correct assistant is in the sidebar
|
||||
2. Click “Add bundle on its page
|
||||
3. Add any required inputs (e.g. secrets)
|
||||
2. Click “Add bundle from the bundle page. This adds the individual blocks to your assistant.
|
||||
3. Add any required inputs (e.g. secrets) for each block.
|
||||
4. Select “Save” in assistant sidebar on the right hand side
|
||||
|
||||
[SCREENSHOT OF BLOCK READY TO BE SAVED]
|
||||
|
||||
After this, you can then go to your IDE extension using the "Open VS Code" or "Open Jetbrains" button and begin using the new blocks.
|
||||
|
||||
[SCREENSHOT OF VS CODE WITH BLOCK READY TO BE USED IN TOGGLE]
|
||||
After this, you can then go to your IDE extension using the "Open VS Code" or "Open Jetbrains" buttons and begin using the new blocks.
|
||||
|
||||
## Create a bundle
|
||||
|
||||
To create a bundle, click “New bundle” in the top bar.
|
||||
To create a bundle, click “New bundle” in the header.
|
||||
|
||||
For values that the user of the block needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`, where API_KEY will be set by the user from the `with` clause in their assistant.
|
||||

|
||||
|
||||
It’s not currently possible to remix a bundle.
|
||||
Choose a name, slug, description, and visibility for your bundle.
|
||||
|
||||
Then, search blocks using the "Search Blocks" input and add them to your bundle.
|
||||
|
||||

|
||||
|
||||
Once you have added all the blocks you want in your bundle, click "Create Bundle" to save it and make it available for use.
|
||||
|
||||
## Remix a bundle
|
||||
|
||||
It is not currently possible to remix a bundle.
|
||||
|
|
|
|||
|
|
@ -13,11 +13,12 @@ You should remix a block if you want to use it after some modifications.
|
|||
|
||||
By clicking the “remix” button, you’ll be taken to the “Create a remix” page.
|
||||
|
||||
Once here, you’ll be able to
|
||||
Edit YAML configuration for the block
|
||||
Change name, description, icon, etc.
|
||||

|
||||
|
||||
[SCREENSHOT OF REMIX BLOCK PAGE]
|
||||
Once here, you’ll be able to
|
||||
|
||||
1. Edit YAML configuration for the block
|
||||
2. Change name, description, icon, etc.
|
||||
|
||||
Clicking “Create block” will make this assistant available for use
|
||||
|
||||
|
|
@ -25,6 +26,12 @@ Clicking “Create block” will make this assistant available for use
|
|||
|
||||
To create a block from scratch, you will need to click “New block” in the top bar.
|
||||
|
||||
After filling out information on the block, you will want to create a block following the config.yaml reference documentation.
|
||||

|
||||
|
||||
For values that the user of the block needs to set, you can use template variables (e.g. `${{ inputs.API_KEY}}`, where API_KEY will be set by the user from the `with` clause in their assistant.
|
||||
After filling out information on the block, you will want to create a block following the `config.yaml` [reference documentation](../../yaml-reference.md).
|
||||
|
||||

|
||||
|
||||
### Block inputs
|
||||
|
||||
Blocks can receive values, including secrets, as inputs through templating. For values that the user of the block needs to set, you can use template variables, e.g., `${{ inputs.API_KEY}}`. Then, the user can set e.g. `API_KEY: ${{ secrets.MY_API_KEY }}` in the `with` clause in their assistant.
|
||||
|
|
|
|||
|
|
@ -6,15 +6,11 @@ keywords: [blocks, usage, use]
|
|||
|
||||
# Use a Block
|
||||
|
||||
Once you know which block you want to use, you’ll need to
|
||||
Blocks can be used by adding the to assistants. See
|
||||
|
||||
1. Make sure the correct assistant is selected in the assistant sidebar
|
||||
2. Click “Add block” on its page
|
||||
3. Add any required inputs (e.g. secrets)
|
||||
4. Select “Save” in the assistant sidebar
|
||||
- [Create an assistant](../assistants/create-an-assistant.md)
|
||||
- [Edit an assistant](../assistants/edit-an-assistant.md)
|
||||
|
||||
[SCREENSHOT OF BLOCK READY TO BE SAVED]
|
||||
Some blocks require inputs. If you are missing an input for a block, a notification icon will show in the sidebar next to the block. Click the notification to select which secret to use for the block input.
|
||||
|
||||
After this, you can then go to your IDE extension and begin using this block.
|
||||
|
||||
[SCREENSHOT OF VS CODE WITH BLOCK READY TO BE USED IN TOGGLE]
|
||||

|
||||
|
|
|
|||
|
|
@ -6,14 +6,11 @@ keywords: [governance, models, add-on]
|
|||
|
||||
# Models Add-On
|
||||
|
||||
The models add-on allows you to use a variety of frontier models for a flat monthly fee. It’s designed to cover the usage of most developers.
|
||||
The Models Add-On allows you to use a variety of frontier models for a flat monthly fee. It’s designed to cover the usage of most developers. See the [**pricing page**](https://hub.continue.dev/pricing) for information on pricing and usage limits.
|
||||
|
||||
You can use the following Chat / Edit / Apply official model blocks (up to 500 requests): Claude Sonnet 3.5 from Anthropic, [ADD ALL MODEL BLOCKS AND LINK]
|
||||
Currently, the following models are included in the Models Add-On:
|
||||
|
||||
You can use the following Autocomplete official model blocks (up to 10,000 requests): Codestral from Mistral, [ADD ALL MODEL BLOCKS AND LINK]
|
||||
|
||||
<!-- HUB_TODO - best experience bundle -->
|
||||
|
||||
You can use the following Embeddings / Rerank (regular Continue usage): Voyage AI, [ADD ALL MODEL BLOCKS AND LINK]
|
||||
|
||||
[**View pricing here**](https://hub.continue.dev/pricing)
|
||||
- [Anthropic Claude Sonnet 3.5](https://hub.continue.dev/anthropic/claude-3-5-sonnet) for Chat, Edit, and Apply
|
||||
- [Mistral Codestral](https://hub.continue.dev/mistral/codestral) for Autocomplete
|
||||
- [Voyage AI Code 3](https://hub.continue.dev/voyageai/voyage-code-3) for Embedding
|
||||
- [Voyage AI Rerank 2](https://hub.continue.dev/voyageai/rerank-2) for Reranking
|
||||
|
|
|
|||
BIN
docs/static/img/hub/block-inputs.png
vendored
Normal file
BIN
docs/static/img/hub/block-inputs.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
BIN
docs/static/img/hub/block-new-button.png
vendored
Normal file
BIN
docs/static/img/hub/block-new-button.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
BIN
docs/static/img/hub/block-new-page.png
vendored
Normal file
BIN
docs/static/img/hub/block-new-page.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 203 KiB |
BIN
docs/static/img/hub/block-remix-button.png
vendored
Normal file
BIN
docs/static/img/hub/block-remix-button.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 125 KiB |
BIN
docs/static/img/hub/bundle-create-page.png
vendored
Normal file
BIN
docs/static/img/hub/bundle-create-page.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 140 KiB |
BIN
docs/static/img/hub/bundle-new-button.png
vendored
Normal file
BIN
docs/static/img/hub/bundle-new-button.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
Loading…
Add table
Reference in a new issue