-
Notifications
You must be signed in to change notification settings - Fork 39
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
Package v1 AI Assistant for production release #2296
Comments
UPDATE: I've spun out a new issue for this: See #2411 ORIGINAL POST: The disclaimer needs to include:
We need to think carefully about adding input and output data to the prompt because there's some serious data protection stuff. Maybe users ALWAYS have to click a button to attach state/output, and maybe ALWAYS have to confirm the action. Also it should clearly indicate to the user when input state is part of the prompt. Some other stuff:
|
We also need to support the streaming API in both apollo and Lightning, so that each token appears as its generated. This is a huge boost to the UX. |
This comment was marked as resolved.
This comment was marked as resolved.
Is the chat session for the whole project? I think it makes sense to bring it down to the workflow, or even the Job itself |
Hey @midigofrank , @stuartc , and @christad92 , was there a specific reason that requirement 9 was left out of this? This is quite important for non AI stuff also... users want to know what plan they're on, when it ends, and how much usage they have left.
Unless there was a strong reason for omitting this, I think we should prioritize it quite high amongst the other issues in #2613 |
If I remember correctly, this was left out because it required much effort
and also the AI credits count wasn't yet finalized. So it got out of scope
for the AI issue at hand.
…On Wed, Nov 27, 2024 at 10:49 AM Taylor Downs ***@***.***> wrote:
Hey @midigofrank <https://github.com/midigofrank> , @stuartc
<https://github.com/stuartc> , and @christad92
<https://github.com/christad92> , was there a specific reason that
requirement 9 was left out of this? This is quite important for *non* AI
stuff also... users want to know what plan they're on, when it ends, and
how much usage they have left.
Display usage counts
-- Implement a card that will show the usage summary of runs and AI
credits in the current billing cycle.
-- The card should show runs and AI credits in a progress bar
-- The card should tell users when the plan will renew
-- The card should have a link to take the user to the subscription page
for the project. This will replace the existing subscription menu on the
project scope.
This plan usage card will be visible to ALL users
image.png (view on web)
<https://github.com/user-attachments/assets/45f14315-8fc7-486a-a250-2b58b82496dc>
Unless there was a strong reason for omitting this, I think we should
prioritize it quite high amongst the other issues in #2613
<#2613>
—
Reply to this email directly, view it on GitHub
<#2296 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJLYA766ZIEDW5N4HGUIWCT2CV2QBAVCNFSM6AAAAABK42UF5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBTGE2DAMJQHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hmm, I don't think the limits for the ai credits have been set yet. #2438 paved the road for it. But yes, I think we can work on adding that usage card with/without the AI credits limit. |
Motivation
One of the many application areas of AI in OpenFn is to enable users to do more on the platform. By doing more, we mean writing jobs faster, building workflows faster, and building more adaptors when required among others. We have implemented a v0 of this assistant that leveraged an OpenAI GPT-based model that is deployed on Apollo to answer questions users might have. This feature was limited to superusers ONLY and we are now making this open to all users within the instance.
Design: https://www.figma.com/design/4hGWdO4sajnjcOwE81j8BK/App-(new)?node-id=4970-635&t=kVYLqPxptbSYr3PY-0
Requirements:
The feature should be available to all users with owner, editor, and admin roles in a project. Viewers can only see the chats but will not be able to make queries.
-- Project_id
-- User_id
-- Is_public (others in the project can see the session and default to true)
-- Is_deleted
-- Workflow_id
-- Step_id
-- Model
-- Chat_session_id
-- Timestamp
-- user_id
-- Is_public (to let other users in your project view this message and default to true)
-- Question
-- Answer
-- Is_deleted
We want to align the UX and style of the panel to align with existing designs.
-- Input section with the send button
-- Colour of the buttons
-- User profile placeholder for message callout
We want to be able to convert OSS users to sign up for cloud-hosted service if they don’t have AI set up but can click on a link to test the feature on https://app.openfn.org/.
-- For each session, users should be able to scroll up to see the previously asked questions since the AI assistant is limited by plan, it is essential to ensure that users don’t waste credits by repeating the same questions.
-- Users should be able to delete questions/answers in a session if they are the author of the session.
-- AI can make mistakes and it is essential to tell users that they should validate the responses.
-- Implement a card that will show the usage summary of runs and AI credits in the current billing cycle.
-- The card should show runs and AI credits in a progress bar
-- The card should tell users when the plan will renew
-- The card should have a link to take the user to the subscription page for the project. This will replace the existing subscription menu on the project scope.
This plan usage card will be visible to ALL users
Nice to Haves:
--- Add a note to the user that it is advisable for them to ONLY do this with test data rather than real data which can include PII or sensitive business data.
--- Joe Clark says could we scrub the data such that we will only send the shape of the data (keys/structure) but not the values.
The text was updated successfully, but these errors were encountered: