WEB API independent

This commit is contained in:
tuyang.yhj
2023-06-25 15:32:41 +08:00
parent 04b4f6adf9
commit c57c2e60e8
24 changed files with 1023 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
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)