-
Notifications
You must be signed in to change notification settings - Fork 12
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
AI assistant draft docs #570
Merged
Merged
Changes from 7 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ec0841a
Draft AI Assistant Docs
christad92 d312ba0
Updated draft of AI Assistant
christad92 bef96d6
added prettier
christad92 1b2c735
Move ai-assistant page under platform
josephjclark 6992c56
Redraft ai assistant docs
josephjclark f1261af
update ai assistant images
josephjclark d868a50
Add note about the assistant being unavailable
josephjclark 605acc0
Updated availability statement
christad92 6141b10
Update ai-assistant.md
aleksa-krolls 4632951
Update ai-assistant.md
aleksa-krolls 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,66 @@ | ||
--- | ||
title: Using the AI Assistant | ||
sidebar_label: AI Assistant | ||
--- | ||
|
||
The OpenFn AI Assistant provides a chat interface with an AI Model to help you | ||
build workflows. | ||
|
||
You can use it to draft, proofread and debug job code, diagnose errors, and | ||
understand the capabilities of the platform. | ||
|
||
![AI Assistant](/img/ai-assistant.png) | ||
|
||
:::caution Assistant Unavailable? | ||
|
||
The AI Assistant must be configured before it can be used. If it's not available on your deployment, contact your system administrator. | ||
|
||
The Assistant is available on app.openfn.org, with usage credits subject your organization's plan. | ||
|
||
::: | ||
|
||
|
||
## About the Assistant | ||
|
||
The AI Assistant is built on the Claude 3.5 Sonnet model from | ||
[Anthropic](https://www.anthropic.com/) and is trained with OpenFn documentation | ||
and example job code. | ||
|
||
At the moment, the Assistant is only configured to help with job writing. Later | ||
versions of the assistant may be rolled out to other pages. | ||
|
||
All chat sessions are shared between all users of the project. You can start a | ||
new chat session at any time, or open an old one. | ||
|
||
Input data and run-time job logs not sent to to the model. But we do include | ||
your step code so that the Assistant can provide a contextually relevant answer. | ||
|
||
|
||
## A Note on Responsible AI Usage | ||
|
||
The AI assistant is built on emerging Large Language Model (terminology). Like | ||
other LLMS and chatbots, its capabilities are impressive, but imperfect. | ||
|
||
Remember that ultimately, all responses are generated by an algorithm and YOU, | ||
the human in charge, are responsible for how its output is used. You should | ||
consider all responses critically and verify the output where possible. | ||
|
||
You can read more about our approach to AI in our | ||
[Responsible AI Policy](https://www.openfn.org/ai). | ||
|
||
## How to access the AI Assistant | ||
|
||
The AI Assistant is located in the Inspector, in the Input panel to the left of | ||
the step code. You may need to open the inspector first - to do this, click on a | ||
step in the workflow and hit the `</>` button. | ||
|
||
If there has been a prior chat session on this step, you'll be presented with a | ||
list of them. Click on one to open up that chat history. | ||
|
||
To stat a new session, type a question in the text area at the bottom of the | ||
Assistant. Click on the `Send` button to send your question. The Assistant will | ||
return a respond in a few seconds in the chat interface. | ||
|
||
You can close a chat session by clicking the `(X)` button on the top right of | ||
the chat interface, which will take you back to the list of sessions for this | ||
step. |
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
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.
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.
I'm not at all sure about the language here (especially the second line). Can anyone give me a hand?
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.
expanded this language a bit, and linked to our pricing page