hubtype / botonic

Build chatbots and conversational experiences using React
https://botonic.io
MIT License
519 stars 76 forks source link

plugin-flow-builder: use new knowledge base nodes with sourceData #BLT-974 #2881

Closed Iru89 closed 2 months ago

Iru89 commented 2 months ago

Description

Use knowledge base nodes with sourceData that contain ids and names

Context

Now in flow builder backend returns an array sourceData of objects with the ids and names of each file. The ids are used to make the call to the api and it does not debug the knowledge_base_id nor the source_ids only the chunks_ids.

Approach taken / Explain the design

To document / Usage example

Testing

The pull request fix all tests