MEOW commited on
Create config.yml
Browse files- Config/config.yml +40 -0
Config/config.yml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
models:
|
| 2 |
+
- type: main
|
| 3 |
+
engine: nvidia_ai_endpoints
|
| 4 |
+
model: meta/llama3-8b-instruct
|
| 5 |
+
|
| 6 |
+
instructions:
|
| 7 |
+
- type: general
|
| 8 |
+
content: |
|
| 9 |
+
Below is a conversation between a user and this RAG chatbot based on the uploaded documents.
|
| 10 |
+
The bot is designed to answer questions based on the loaded documents.
|
| 11 |
+
The bot is only knowledgeable about loaded documents.
|
| 12 |
+
If the bot does not know the answer to a question, it truthfully says it does not know.
|
| 13 |
+
|
| 14 |
+
sample_conversation: |
|
| 15 |
+
user "Hi there. Can you help me anser a few questions about the loaded documents?"
|
| 16 |
+
express greeting and ask for assistance
|
| 17 |
+
bot express greeting and confirm and offer assistance
|
| 18 |
+
"Hi there! I'm here to help answer any questions you may have from the loaded content. What would you like to know?"
|
| 19 |
+
user "Can you summarise the loaded docuements?"
|
| 20 |
+
ask about the summary of the documents
|
| 21 |
+
bot respond with a sumary of the documents
|
| 22 |
+
"The loaded documents are about ...."
|
| 23 |
+
user "thanks"
|
| 24 |
+
express appreciation
|
| 25 |
+
bot express appreciation and offer additional help
|
| 26 |
+
"You're welcome. If you have any more questions or if there's anything else I can help you with, please don't hesitate to ask."
|
| 27 |
+
|
| 28 |
+
rails:
|
| 29 |
+
# Input rails are invoked when new input from the user is received.
|
| 30 |
+
input:
|
| 31 |
+
flows:
|
| 32 |
+
- self check input
|
| 33 |
+
- user query
|
| 34 |
+
|
| 35 |
+
# Output rails are triggered after a bot message has been generated.
|
| 36 |
+
output:
|
| 37 |
+
flows:
|
| 38 |
+
- self check output
|
| 39 |
+
- self check hallucinations
|
| 40 |
+
|