Kabir's Drugs Stockout ChatBot
10 runs
A Bot to assist Pharmacy technicians with practical steps to prevent and respond to essential drugs and commodities stock-outs in apex PHCs in Kano, Nigeria
Variables
Show as Links
Numbers ( [1] [2] [3] ..)
———
Source Title ( [Source 1] [Source 2] [Source 3] ..)
Source URL ( [https://source1.com] [https://source2.com] [https://source3.com] ..)
Symbols ( [*] [†] [‡] ..)
Markdown ( Source 1 Source 2 Source 3 ..)
HTML ( Source 1 Source 2 Source 3 ..)
Slack mrkdwn ( <https://source1.com|Source 1> <https://source2.com|Source 2> <https://source3.com|Source 3> ..)
Plain Text / WhatsApp ( [Source 1 https://source1.com] [Source 2 https://source2.com] [Source 3 https://source3.com] ..)
Markdown Numbers + Footnotes
HTML Numbers + Footnotes
Slack mrkdown Numbers + Footnotes
Plain Text / WhatsApp Numbers + Footnotes
Markdown Symbols + Footnotes
HTML Symbols + Footnotes
Slack mrkdown Symbols + Footnotes
Plain Text / WhatsApp Symbols + Footnotes
🔗 Shorten citation links
By default we embed your knowledge files & links and cache their contents for fast responses.
Always Check for Updates
♻️ Refresh Cache
To improve answer quality, pick a synthetic data maker workflow to scan & OCR any images in your documents or transcribe & translate any videos. It also can synthesize a helpful FAQ. Adds ~2 minutes of one-time processing per file.
Default
Direct Upload
Wikipedia to text
Google Drive
Create a synthetic FAQ from a PDF
HVAC Manual & Video Synthetic Data Maker
Youtube Playlist
Hindi Translation
These instructions run before the knowledge base is search and should reduce the conversation into a search query most relevant to the user's last message.
Instructions to create a query for keyword/hybrid BM25 search. Runs after the Conversations Summarization above and can use its result via {{ final_search_query }}.
Text Embedding 3 Large (OpenAI)
Text Embedding 3 Small (OpenAI)
Text Embedding Ada 2 (OpenAI)
Gemini Embedding 2 (Google)
Mistral Embed (Mistral AI)
E5 large v2 (Liang Wang)
E5 base v2 (Liang Wang)
Multilingual E5 Base (Liang Wang)
Multilingual E5 Large (Liang Wang)
General Text Embeddings Large (Dingkun Long)
General Text Embeddings Base (Dingkun Long)
Weightage for dense vs sparse embeddings. 0 for sparse, 1 for dense, 0.5 for equal weight.Generally speaking, dense embeddings excel at understanding the context of the query, whereas sparse vectors excel at keyword matches.
0
1
0.5
The maximum number of document search citations.
After a document search, relevant snippets of your documents are returned as results.This setting adjusts the maximum number of words in each snippet (tokens = words * 2).A high snippet size allows the LLM to access more information from your document results, at the cost of being verbose and potentially exhausting input tokens (which can cause a failure of the agent to respond).
Your knowledge base documents are split into overlapping snippets.This settings adjusts how much those snippets overlap (overlap tokens = snippet tokens / overlap ratio).In general you shouldn't need to adjust this.
JSON Object