Spaces:
Runtime error
Runtime error
Commit
·
5ec3d66
1
Parent(s):
37cbf50
Update gpt.py
Browse files
gpt.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import openai
|
2 |
|
3 |
openai.api_key = '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'
|
4 |
-
model = "gpt-3.5-turbo-
|
5 |
|
6 |
def get_keywords(question):
|
7 |
prompt = f"Extract 10 keywords from the following question, including synonyms. Use only lowercase letters:\n\n{question}"
|
|
|
1 |
import openai
|
2 |
|
3 |
openai.api_key = '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'
|
4 |
+
model = "gpt-3.5-turbo-1106"
|
5 |
|
6 |
def get_keywords(question):
|
7 |
prompt = f"Extract 10 keywords from the following question, including synonyms. Use only lowercase letters:\n\n{question}"
|