Help, how to confined specified knowledge base when I chat message? #14027
Unanswered
junqianglee
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I want chatbot answer questions using diffs knowledge_base_ids when in differs senior: seems knowledge_base_ids set in inputs var not works, I saw in web tool its could configure diff knowledges for same app manually,
I wanna know how to configure diff knowledges in code:
payload = {"inputs":{'knowledge_base_ids': ["56194a9a-fc68-43d8-8c13-fb966797add7"]},'knowledge_base_ids':['56194a9a-fc68-43d8-8c13-fb966797add7'],"query": "有哪些包包?","response_mode": "streaming","conversation_id": "","user": "abc-123","files":[]}
response = requests.post(url,headers=headers,json=payload)
2. Additional context or comments
No response
Beta Was this translation helpful? Give feedback.
All reactions