File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
nemoguardrails/llm/prompts Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,7 @@ prompts:
316316 messages :
317317 - type : system
318318 content : " Directly response with expected answer. Don't provide any pre- or post-explanations."
319- - type : user
319+
320+ - type : system
320321 content : |-
321322 {{ flow_nld }}
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ prompts:
222222 content : " This is the current conversation between the user and the bot:"
223223 - " {{ history | colang | to_messages_v2}}"
224224
225- - type : assistant
225+ - type : system
226226 content : |
227227 Follow these instruction `{{ instructions }}` to generate a value that is assigned to:
228228 ${{ var_name }} =
@@ -303,6 +303,6 @@ prompts:
303303 - openai/gpt-3.5-turbo
304304 - openai/gpt-4
305305 messages :
306- - type : user
306+ - type : system
307307 content : |-
308308 {{ flow_nld }}
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ async def test_serialization():
119119 avg_time += took
120120 avg_time /= number_of_runs
121121
122- assert avg_time < 0.1
122+ assert avg_time < 0.2
123123
124124 assert isinstance (s , str )
125125
You can’t perform that action at this time.
0 commit comments