Dify's API interface cannot select Q&A segmentation mode
complete
张英
In Dify, only documents can be uploaded through the page and the Q&A segmentation mode can be selected, but the project needs to select this mode through the API.
Chenhe Gu
marked this post as
complete
·
·
Reply
Chenhe Gu
Sorry - our API doc got a bit outdated. You can actually add a 'doc_form' argument and set its value to 'qa_model' in your request.