Spaces:
Sleeping
Sleeping
chips
commited on
Commit
·
313520c
1
Parent(s):
53736a5
something about .format
Browse files
app/services/service_openai.py
CHANGED
|
@@ -159,7 +159,7 @@ class OpenAIService(BaseAttributionService):
|
|
| 159 |
text_content = [
|
| 160 |
{
|
| 161 |
"type": "text",
|
| 162 |
-
"text": prompts.FOLLOW_SCHEMA_HUMAN_MESSAGE
|
| 163 |
},
|
| 164 |
]
|
| 165 |
|
|
|
|
| 159 |
text_content = [
|
| 160 |
{
|
| 161 |
"type": "text",
|
| 162 |
+
"text": prompts.FOLLOW_SCHEMA_HUMAN_MESSAGE #format(json_info=data),
|
| 163 |
},
|
| 164 |
]
|
| 165 |
|