-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Fuse 0.6 docs #347
Merged
Merged
Add Fuse 0.6 docs #347
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
id: botkube-cloud-auth | ||
title: Authentication with Botkube Cloud | ||
sidebar_position: 8 | ||
--- | ||
|
||
# Authentication with Botkube Cloud | ||
|
||
Fuse is deeply integrated with Botkube Cloud. When you log in to Botkube Cloud, increased usage limits apply, and additional features are available. | ||
|
||
## Benefits | ||
|
||
### Increased usage limits | ||
|
||
Once you log in to Botkube Cloud, you get **4x AI token usage limit** for your machine, regardless the free or paid plan. | ||
|
||
### Additional features | ||
|
||
While being logged in to your Botkube Cloud account, you can access the following features: | ||
|
||
- [Knowledge documents upload](./knowledge-documents.md) (different limits apply for each plan), | ||
- [Custom instructions](./custom-instructions.md). | ||
|
||
All data for the features is shared between multiple memebers of your Botkube Cloud organization. | ||
|
||
## Log in | ||
|
||
To log in to your Botkube Cloud account, run: | ||
|
||
```shell | ||
botkube login | ||
``` | ||
|
||
## Log out | ||
|
||
To log out from your Botkube Cloud account and delete local authentication data, run: | ||
|
||
```shell | ||
botkube logout | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
id: custom-instructions | ||
title: Custom instructions | ||
sidebar_position: 6 | ||
--- | ||
|
||
# Custom instructions | ||
|
||
Fuse categorizes user prompts and applies custom AI assistant instructions for accurate responses. | ||
|
||
There are built-in instructions for some scenarios. You can learn more about them on the [Tutorials](./tutorials.md) page. However, you can also create your own, to tailor Fuse to your specific workflows and daily tasks. | ||
|
||
The custom instructions are applied dynamically. The AI model decides by itself whether to apply a given instruction, based on its relevance to the user prompt. | ||
|
||
:::info | ||
This feature requires [an active account on Botkube Cloud](./botkube-cloud-auth.md). All custom instructions are shared across all Fuse installations within your Botkube Cloud organization. | ||
::: | ||
|
||
## Browse and manage instructions | ||
|
||
To browse and manage available instructions, run: | ||
|
||
```shell | ||
fuse instructions browse | ||
``` | ||
|
||
Then: | ||
|
||
- Navigate with up/down arrows through the list. | ||
- Filter the list with your search phrase after pressing `/`. | ||
- Press `e` to edit selected instruction. | ||
- Press `d` to delete selected instruction. | ||
- Press `a` to add [a new instruction](#add-a-new-instruction). | ||
|
||
## Add a new instruction | ||
|
||
To add a new custom instruction, run: | ||
|
||
- Using the default instruction template: | ||
|
||
```shell | ||
fuse instructions add | ||
``` | ||
|
||
- From a local file: | ||
|
||
```shell | ||
fuse instructions add file.md | ||
``` | ||
|
||
- From a URL: | ||
|
||
```shell | ||
fuse instructions add https://example.com/file.md | ||
``` | ||
|
||
### Custom instruction content | ||
|
||
The custom instruction must be a valid Markdown file, that contain a display name as a part of frontmatter metadata: | ||
|
||
```md | ||
--- | ||
displayName: display-name # short name for the instruction | ||
--- | ||
``` | ||
|
||
While there aren't any further requirements for the Markdown instruction content, we recommend using the official default template ([available in the `fuse instructions add` command](#add-a-new-instruction)). | ||
|
||
The instruction might contain some broad guidelines, but also more specific, step-by-step, instructions. | ||
|
||
You can learn more about writing the instructions by searching for "prompt engineering" in the web. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
id: demo-environment | ||
title: Demo environment | ||
sidebar_position: 5 | ||
--- | ||
|
||
# Demo environment | ||
|
||
To make it easier to try out Fuse, we provide a demo environment. | ||
|
||
To use it, specify the `--with-demo-env` flag. By default, when running [`fuse tutorials`](./tutorials.md), you will be prompted if you want to use it as a part of the guided paths. | ||
|
||
The flag configures access to our public read-only Google Cloud Platform project with a Kubernetes cluster. All read-only operations are allowed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
id: knowledge-documents | ||
title: Knowledge documents | ||
sidebar_position: 7 | ||
--- | ||
|
||
# Knowledge documents | ||
|
||
Make Fuse even smarter by uploading your documentation. For example: architectural documents, onboarding material, runbooks, post-mortems, etc. | ||
|
||
:::info | ||
This feature requires [an active account on Botkube Cloud](./botkube-cloud-auth.md). The user-supplied documentation is scoped to a given Botkube Cloud organization. | ||
::: | ||
|
||
## Manage uploaded files | ||
|
||
To manage the files, follow the steps: | ||
|
||
1. Navigate to the [Botkube Cloud dashboard](https://app.botkube.io) | ||
2. Click on the **Fuse CLI** tab. | ||
3. Under the **Customize Fuse Installations** section, find the **Knowledge Documents** card. | ||
|
||
Upload new files with the **Upload file(s)** button. | ||
|
||
To delete files, select the file(s) you want to delete and click **Delete selected file(s)**. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
id: tutorials | ||
title: Tutorials | ||
sidebar_position: 4 | ||
--- | ||
|
||
# Tutorials | ||
|
||
To browse available example use-cases, run `fuse tutorials` in your terminal. | ||
|
||
Tutorials command contains guided paths to get started with Fuse. Simply select one of the scenarios, like "Getting summary of CI/CD pipeline runs", and pick one of the prompts. | ||
|
||
As a part of the tutorials, you can configure optional access to the [Demo environment](./demo-environment.md). | ||
|
||
## Featured scenarios | ||
|
||
We believe that even the most powerful AI assistants out there still require some guidance. Someone needs to do the “prompt engineering” work. That’s why we introduced AI assistant guidance for different user scenarios. Currently, we focused on: | ||
|
||
- GitHub Actions secret management, | ||
- GitHub Actions pipeline run analysis, | ||
- GKE troubleshooting with IAM permission errors, | ||
- Local environment operations and debugging. | ||
|
||
You can see the video recordings of the scenarios on the [official landing page](https://botkube.io/fuse). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
id: tutorials | ||
title: Tutorials | ||
sidebar_position: 4 | ||
--- | ||
|
||
# Tutorials | ||
|
||
To browse available example use-cases, run `fuse tutorials` in your terminal. | ||
|
||
Tutorials command contains guided paths to get started with Fuse. Simply select one of the scenarios, like "Getting summary of CI/CD pipeline runs", and pick one of the prompts. | ||
|
||
## Featured scenarios | ||
|
||
We believe that even the most powerful AI assistants out there still require some guidance. Someone needs to do the “prompt engineering” work. That’s why we introduced AI assistant guidance for different user scenarios. Currently, we focused on: | ||
|
||
- GitHub Actions secret management, | ||
- GitHub Actions pipeline run analysis, | ||
- GKE troubleshooting with IAM permission errors, | ||
- Local environment operations and debugging. | ||
|
||
You can see the video recordings of the scenarios on the [official landing page](https://botkube.io/fuse). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
id: botkube-cloud-auth | ||
title: Authentication with Botkube Cloud | ||
sidebar_position: 8 | ||
--- | ||
|
||
# Authentication with Botkube Cloud | ||
|
||
Fuse is deeply integrated with Botkube Cloud. When you log in to Botkube Cloud, increased usage limits apply, and additional features are available. | ||
|
||
## Benefits | ||
|
||
### Increased usage limits | ||
|
||
Once you log in to Botkube Cloud, you get **4x AI token usage limit** for your machine, regardless the free or paid plan. | ||
|
||
### Additional features | ||
|
||
While being logged in to your Botkube Cloud account, you can access the following features: | ||
|
||
- [Knowledge documents upload](./knowledge-documents.md) (different limits apply for each plan), | ||
- [Custom instructions](./custom-instructions.md). | ||
|
||
All data for the features is shared between multiple memebers of your Botkube Cloud organization. | ||
|
||
## Log in | ||
|
||
To log in to your Botkube Cloud account, run: | ||
|
||
```shell | ||
botkube login | ||
``` | ||
|
||
## Log out | ||
|
||
To log out from your Botkube Cloud account and delete local authentication data, run: | ||
|
||
```shell | ||
botkube logout | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
--- | ||
id: custom-instructions | ||
title: Custom instructions | ||
sidebar_position: 6 | ||
--- | ||
|
||
# Custom instructions | ||
|
||
Fuse categorizes user prompts and applies custom AI assistant instructions for accurate responses. | ||
|
||
There are built-in instructions for some scenarios. You can learn more about them on the [Tutorials](./tutorials.md) page. However, you can also create your own, to tailor Fuse to your specific workflows and daily tasks. | ||
|
||
The custom instructions are applied dynamically. The AI model decides by itself whether to apply a given instruction, based on its relevance to the user prompt. | ||
|
||
:::info | ||
This feature requires [an active account on Botkube Cloud](./botkube-cloud-auth.md). All custom instructions are shared across all Fuse installations within your Botkube Cloud organization. | ||
::: | ||
|
||
## Browse and manage instructions | ||
|
||
To browse and manage available instructions, run: | ||
|
||
```shell | ||
fuse instructions browse | ||
``` | ||
|
||
Then: | ||
|
||
- Navigate with up/down arrows through the list. | ||
- Filter the list with your search phrase after pressing `/`. | ||
- Press `e` to edit selected instruction. | ||
- Press `d` to delete selected instruction. | ||
- Press `a` to add [a new instruction](#add-a-new-instruction). | ||
|
||
## Add a new instruction | ||
|
||
To add a new custom instruction, run: | ||
|
||
- Using the default instruction template: | ||
|
||
```shell | ||
fuse instructions add | ||
``` | ||
|
||
- From a local file: | ||
|
||
```shell | ||
fuse instructions add file.md | ||
``` | ||
|
||
- From a URL: | ||
|
||
```shell | ||
fuse instructions add https://example.com/file.md | ||
``` | ||
|
||
### Custom instruction content | ||
|
||
The custom instruction must be a valid Markdown file, that contain a display name as a part of frontmatter metadata: | ||
|
||
```md | ||
--- | ||
displayName: display-name # short name for the instruction | ||
--- | ||
``` | ||
|
||
While there aren't any further requirements for the Markdown instruction content, we recommend using the official default template ([available in the `fuse instructions add` command](#add-a-new-instruction)). | ||
|
||
The instruction might contain some broad guidelines, but also more specific, step-by-step, instructions. | ||
|
||
You can learn more about writing the instructions by searching for "prompt engineering" in the web. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
id: demo-environment | ||
title: Demo environment | ||
sidebar_position: 5 | ||
--- | ||
|
||
# Demo environment | ||
|
||
To make it easier to try out Fuse, we provide a demo environment. | ||
|
||
To use it, specify the `--with-demo-env` flag. By default, when running [`fuse tutorials`](./tutorials.md), you will be prompted if you want to use it as a part of the guided paths. | ||
|
||
The flag configures access to our public read-only Google Cloud Platform project with a Kubernetes cluster. All read-only operations are allowed. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, the idea of providing information about what you gain by having a cloud account (effectively login) is great. Nesting that under "Auth with Botkube" doesn’t convince me much. I’d see it more as a general "comparison" where you have "not logged in, logged in, paid" users. Maybe something similar to the ArgoCD approach - with diagrams, we could also showcase the OOTB team features.
Anyway, it’s probably something for later, so feel free to merge it as it is 👌