AI assistants in showroom

I noticed that a new AI Assistants showcase is available in the Showroom, but it is not loading when I click on it. When will it be available?

Hi!

It was just the classical “works-on-my-computer” issue, after releasing this app last week. Now, it should work on your computer as well!

3 Likes

I think this is really cool. It would be nice to have streaming responses from the assistant. Is this something that is possible?

I agree, streaming would be optimal. We do not have any built-in concepts for it per now, but rumours say that someone has made it using run code / coded component.

Will update the Showroom case when we have streaming in place!

PS: The AI Assistants app is now available in Farmers market!

1 Like

Hi, have anyone tried to copy functionality from the AI Assistants with v2 (OpenAI-Beta, assistants=v2) . If so, did you also get a failed status on the run and how did you fix the issue?

"Action “Message - Create (step 2) [API]”: First the run status was queued, but in the while loop it fails where it is looping “forever” with the status failed:

Hi!

Just a quick comment: Have you copied from Showroom, or have you downloaded from Farmers Market (new App → Browse all apps → AI Assistants)? You should download from farmers market, and follow the instructions you get when you try to preview it.

If you still get the error: You need to post the error message you receive in that web request (using dev tools, expand the red error message you get from the web request) :slight_smile:

Hi Kristian, to be sure I downloaded the App from the Farmers Market now and changed the Auth Token to a valid one.

When running the downloaded Farmer App I got an get an error message on the Ping function claiming version 2 of assistants should be used. So, I changed the Header OpenAI-Beta from assistants=v1 to assistants=v2 on all web requests in this App (same as I did on my own app).

When running the Farmers App after this change I get another message when creating the first New assistant (this is an error that I have fixed in my own app):

Ah, thanks! I can see the error now.

The error is “not on you”. In fact - the template in Farmers Market somehow has been replaced with the old version (communication towards outdated versions of the OpenAI APIs). Sorry abount that, the farmers market entry has been updated now.

If you delete that “AI Assistants” app you just downloaded, and try download it again (and follow the intrructions on replacing the API Key secret), it should work now!

Hi, yes the Farmer App works now and I have figured out what is wrong with my solution. In the first web request in the “Message - Create step 2 [API]” here:
image

I try to add CSV text with datasets into the Body Content like this:

and it fails. When removing the the datasets it works, but then Open AI have no data :slight_smile:

Ok,

Then you should debug to see what is the value of that web request input / function. If expanding the log entry in devtools dies not reveal the content, try to copy the function (right click + copy from thecweb request) and paste it to e.g. a “Log to console” action node (add instead of “return {…}” as you have now, change to “return JSON.stringify({…})” instead.
You can also just try to change the web request function to that (converting the JSON to a string) and see if it helps.

1 Like

Thank you, now it works! What I did was simply to add JSON.stringify to this function:

I also quickly meet Token limitations so now I am using gpt-4o-mini (slow, but works).