-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Draft AI Assistant Docs * Updated draft of AI Assistant * added prettier * Move ai-assistant page under platform * Redraft ai assistant docs * update ai assistant images * Add note about the assistant being unavailable * Updated availability statement * Update ai-assistant.md updating help text * Update ai-assistant.md fix broken links --------- Co-authored-by: Joe Clark <[email protected]> Co-authored-by: Aleksa Krolls <[email protected]>
- Loading branch information
1 parent
91a9cca
commit 23ddc4d
Showing
5 changed files
with
89 additions
and
0 deletions.
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,76 @@ | ||
--- | ||
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? Can't find it? | ||
|
||
For local deployments of OpenFn, the instance administrator needs to configure the AI | ||
Assistant before it is available. See | ||
[deployment docs](https://github.com/OpenFn/lightning/blob/main/DEPLOYMENT.md#ai-chat) | ||
here for help or contact the super user of your instance. | ||
|
||
The Assistant is available on app.openfn.org, with usage credits subject your | ||
project's plan. See [openfn.org/pricing](https://www.openfn.org/pricing) or contact [[email protected]](mailto:[email protected]) | ||
for more information on paid plans for usage of OpenFn's cloud-hosted platform. | ||
|
||
::: | ||
|
||
## 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 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. | ||
|
||
:::caution Feedback or Questions about the Assistant? | ||
|
||
We welcome your questions or feedback on [community.openfn.org](https://community.openfn.org/), | ||
or contact [[email protected]](mailto:[email protected]) with private queries. | ||
|
||
::: |
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.