When I am composing for instance a graphQL query in the Workflow environment, I don't find the purple AI Assistant in the lower right of the code window in a query block. How can I enable that?
I end up designing queries in an app then copy pasting , is this intended ?
Great catch, it seems that not all types of query blocks have the purple AI Assistant, let me file a feature request for that and see what I can do.
Will keep you updated on that FR in this thread, it sounds like you have a temporary work around where you design queries in app where the AI assistant is accessible and then move them over which is great to hear.
I just checked on the ticket and unfortunately there doesn't seem to be an update on this, I just added in a comment on the ticket so hopefully that will help.
I would say for now, continue building out graphQL queries in app and then moving them over. Our workflows team is working on a lot of large projects but hopefully someone can get to picking this ticket up
You should be able to see the purple AI robot logo for GraphQL queries in workflow blocks currently!
I did learn from our engineering team that this does not appear with "adhoc graphql queries", as I had created a query without connecting it successfully to a working GraphQL resource, as that must be done for the icon to appear.
I was also told that "This is expected because without a proper resource we can't fetch the schema that is used for Copilot, so this is by design".
So let me know if you are still not seeing this, if you are self hosted, it might only be available to users after a certain version which I can investigate to see if you need to update the version of Retool that you are running, but if you are on cloud it should be there
My apologies I can confirm that the AI assistant is not appearing for me on the most up to date version.
I just checked your deployment and you are on the cloud so no need to worry as you will be updated to our newest live versions automatically.
While we fix this, I did find a workaround! You can go to your Query Library where the AI bot will be there once you re-auth into the resource. You can build your query there and then import into into your workflows!
First, click the Retool logo in the top left, Query Library will appear in the dropdown.
Then create a new query, specify resource, re-auth in and the bot should be bottom right as in my screenshot!