FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
27.68k stars 14.3k forks source link

[BUG] Cannot read properties of undefined (reading '_def') #1801

Closed SchmitzBen-UC closed 4 months ago

SchmitzBen-UC commented 4 months ago

I am trying to create a Chatbot using the "Open AI Assitent" Flow from the Marketplace, but whenever I test it in Flowise i get the error: Cannot read properties of undefined (reading '_def') instead of an answer from the assistent.

I directly followed this tutorial: https://www.youtube.com/watch?v=DW6D1nAx5Z0, where it worked.

Steps to reproduce the behavior:

  1. Go to 'Marketplace'
  2. Choose the "Open AI Assistent" 3.Create an Assistent with custom Instructions, Model GPT-4-1106 and a viable Open AI Key
  3. Try to Test it in the Flowise UI and see the Error i described

I Expected to see a similar answer as to what i saw in the OpenAI - Playground

image

240223-WEBCON BOT Chatflow.json

Setup

Additional context This is the output in the console:

Screenshot 2024-02-23 163236

Thanks for your help!

HenryHengZJ commented 4 months ago

I think there was some error on the template, will update it. But in the meantime, if you try creating one from scratch, it works

HenryHengZJ commented 4 months ago

pushed a fix to the template, verified its now working - https://github.com/FlowiseAI/Flowise/commit/79812a23e4ceb50bec35b34f74be2c085bbb0330