Spaces:
Runtime error
Runtime error
Commit
·
50186f3
1
Parent(s):
bdb6be8
Update gpt.py
Browse files
gpt.py
CHANGED
@@ -9,7 +9,7 @@ def get_keywords(question):
|
|
9 |
{question}"""
|
10 |
|
11 |
|
12 |
-
response = openai.
|
13 |
model=model,
|
14 |
messages=[
|
15 |
{
|
@@ -57,7 +57,7 @@ Sur la base des informations ci-dessus, quelle est la réponse à cette question
|
|
57 |
{question}
|
58 |
```"""
|
59 |
|
60 |
-
response = openai.
|
61 |
model=model,
|
62 |
messages=[
|
63 |
{
|
|
|
9 |
{question}"""
|
10 |
|
11 |
|
12 |
+
response = openai.completions.create(
|
13 |
model=model,
|
14 |
messages=[
|
15 |
{
|
|
|
57 |
{question}
|
58 |
```"""
|
59 |
|
60 |
+
response = openai.completions.create(
|
61 |
model=model,
|
62 |
messages=[
|
63 |
{
|