FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow

Home Page:https://flowiseai.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] 1.7.2 Document Store: Double quotes are not escaped, flow crashes

OY-Linkin opened this issue · comments

Describe the bug
Double quotes in the data of a Document Store are not properly escaped, so using them in a chat flow it crashes with a JSON error.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Document Store with a Document Loader Plain Text: Name = "Michael"
  2. Link the Document Store Node in your chat flow and connect it to a variable in your system prompt
  3. Run the chat flow.
  4. See error: "SyntaxError: Expected ',' or '}' after property value in JSON"

Expected behavior
Flow should build and run normally.

Screenshots
Screenshot 2024-05-10 at 16 52 21

Flow
Debug Chatflow (1).json

Setup

  • Installation: Locallynpx flowise start
  • Flowise Version 1.7.2
  • OS: macOS
  • Browser Chrome

Additional context
Using the same string (Name:"Michael") in a plain text node works fine.