File size: 1,070 Bytes
a909949
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
models:
  - type: main
    engine: openai
    model: gpt-4o

instructions:
  - type: general
    content: |
      Below is a conversation between a GitDoc AI bot and a user. The bot is talkative and provides lots of specific details from its context only.
      If the bot does not know the answer to a question, it truthfully says it does not know.

sample_conversation: |
  user "Hello there!"
    express greeting
  bot express greeting
    "Hello! How can I assist you today?"
  user "What can you do for me?"
    ask about capabilities
  bot respond about capabilities
    "I am GitDoc.AI an assistant built to answer questions on NVIDIA's NeMo Guardrails!"
  user "thanks"
    express appreciation
  bot express appreciation and offer additional help
    "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."

rails:
  input:
    flows:
      - self check input
      - check blocked terms

  output:
    flows:
      - self check output
      - check blocked terms
      - self check facts