Skip to content

[BUG] REST API upsert new document - all the time a new document store is created #4661

@fmancardi

Description

@fmancardi

Describe the bug
I'm using the python code present in
https://docs.flowiseai.com/using-flowise/document-stores#id-10.-api
Want to reproduce:
Scenario 1: In the same document store, use an existing document loader configuration, upsert as new document loader.
But a after running the script a new document store is created

This is body data I've used

body_data = {
    "docId": DOC_LOADER_ID,
    "replaceExisting": False, 
    "createNewDocStore": False,
    "metadata": json.dumps({"docname":"coldfusion","line":"1"})
}

Expected behavior
As described in Scenario 1:
In the same document store, have a new document loader, with the configuration of the original/source.

Setup

  • Installation docker
  • Flowise Version : 3.0.0
  • OS: Linux
  • Browser: not applicable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingin-workIssue in work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions