Saibo-creator commited on
Commit
1849a87
1 Parent(s): cdb8cba

fix bug: add response_annotators to GPT4 yaml

Browse files
Files changed (1) hide show
  1. OpenAIChatGPT4.yaml +10 -0
OpenAIChatGPT4.yaml CHANGED
@@ -37,6 +37,16 @@ query_message_prompt_template:
37
  - "query" # # "human_input"
38
  template_format: jinja2
39
 
 
 
 
 
 
 
 
 
 
 
40
  input_keys:
41
  - "query" # "human_input"
42
 
 
37
  - "query" # # "human_input"
38
  template_format: jinja2
39
 
40
+
41
+ response_annotators:
42
+ code_extractor:
43
+ _target_: flows.message_annotators.RegexFirstOccurrenceExtractor
44
+ regex: '(.*)'
45
+ key: "response"
46
+ strip: True
47
+ assert_unique: True
48
+ verbose: True
49
+
50
  input_keys:
51
  - "query" # "human_input"
52