Spaces:
Runtime error
Runtime error
Commit
·
75be687
1
Parent(s):
2ecdf10
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-instruct"
|
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}"
|