참고소스 수정본
This commit is contained in:
17
참고/guardrails-main/tests/unit_tests/test_assets/simple.rail
Normal file
17
참고/guardrails-main/tests/unit_tests/test_assets/simple.rail
Normal file
@@ -0,0 +1,17 @@
|
||||
<rail version="0.1">
|
||||
<output>
|
||||
<string name="test_string" description="A string for testing." />
|
||||
</output>
|
||||
<messages>
|
||||
<message role="system">
|
||||
|
||||
You are a helpful bot, who answers only with valid JSON
|
||||
|
||||
</message>
|
||||
<message role="user">
|
||||
|
||||
Extract a string from the text
|
||||
|
||||
</message>
|
||||
</messages>
|
||||
</rail>
|
||||
Reference in New Issue
Block a user