Files
DB-GPT/pilot/scene/chat_execution/example.py
2023-06-25 15:32:41 +08:00

10 lines
327 B
Python

from pilot.prompts.example_base import ExampleSelector
## Two examples are defined by default
EXAMPLES = [
[{"System": "123"},{"System":"xxx"},{"User":"xxx"},{"Assistant":"xxx"}],
[{"System": "123"},{"System":"xxx"},{"User":"xxx"},{"Assistant":"xxx"}]
]
example = ExampleSelector(examples=EXAMPLES, use_example=True)