Skip to content
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

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

Open
OY-Linkin opened this issue May 10, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@OY-Linkin
Copy link

OY-Linkin commented May 10, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants