Spaces:
Sleeping
Sleeping
Cardanoian
commited on
Commit
•
189ba5c
1
Parent(s):
69efcb2
Update api_function.py
Browse files- api_function.py +2 -2
api_function.py
CHANGED
@@ -67,9 +67,9 @@ def request_hyper(text):
|
|
67 |
|
68 |
preset_text = [
|
69 |
# {"role": "system", "content": "블룸의 질문 분류 6가지에 따라 주어진 주제에 대한 질문을 생성해줘.\n"},
|
70 |
-
{"role": "user", "content": text},
|
71 |
]
|
72 |
-
|
73 |
request_data = {
|
74 |
"messages": preset_text,
|
75 |
"maxTokens": 3000,
|
|
|
67 |
|
68 |
preset_text = [
|
69 |
# {"role": "system", "content": "블룸의 질문 분류 6가지에 따라 주어진 주제에 대한 질문을 생성해줘.\n"},
|
70 |
+
{"role": "user", "content": f"충청도 사투리로 {text}가 뭐야?"},
|
71 |
]
|
72 |
+
|
73 |
request_data = {
|
74 |
"messages": preset_text,
|
75 |
"maxTokens": 3000,
|