My Bot has 3 KBs. Each with on line of txt: Cats...
# 🌎general
f
My Bot has 3 KBs. Each with on line of txt: Cats eat Fish Dogs eat beef Birds eat seed It answers correctly when I ask, what can I attract with Beef, Fish etc. When I ask "What eats cats?" The answer it gives is Dogs, and it cites the KB. But cats are not beef. -- How can it cite the KB if this info is not in the KB? -- Answer directly sent to the user { answer: 'Dogs eat cats.', citations: [ { kbId: 'kb-9f194e9acc', dsId: 'ds-723cc5d1be', offset: 13, friendlyName: '(doc) Untitled.html ' } ] } {"scope":"agent-hook","agentId":"KnowledgeAgent","hookName":"conversation_turn_started"} -- I do find this hilarious but at the same time I want to know how we can only provide answers from the KB. Thanks! -- More below for context: Generating answer based on 3 results { query: 'What eats cats?', context: 'Summary of the conversation:\n"""\nUser asked what can be attracted with pork. Bot replied that dogs eat beef. User then asked about fish. Bot responded that cats eat fish.\n"""\n\nTranscript:\n"""\nuser: If I have beef what can I attract?\nbot: If you have beef, you can attract dogs.\nuser: If I have seed, beef and fish what can I attract?\nbot: If you have seed, beef, and fish, you can attract birds, dogs, and cats.\nuser: If I have pork what can I attract?\nuser: Beef?\nbot: Dogs eat beef.\nuser: Fish?\nbot: Cats eat fish.\nuser: What eats cats?\n\n"""', results: [ { name: '(doc) Untitled.html ', preview: 'Cats eat Fish....', tokens: 5 }, { name: '(doc) Untitled.html ', preview: 'Dogs eat beef....', tokens: 5 }, { name: '(doc) Untitled.html ', preview: 'Birds eat seed....', tokens: 5 } ] }