Skip to content

Commit

Permalink
downgrade model
Browse files Browse the repository at this point in the history
  • Loading branch information
yceballost committed Oct 23, 2024
1 parent 9fcf2ce commit 39c97a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/keywords/keywords-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def generate_synonyms(concept):
prompt = f"Generate 9 synonyms for the word '{concept}' mixing English, Spanish, Portuguese, and German. Return them as a plain list of words, without quotes, numbering, or separation by language."

response = openai.ChatCompletion.create(
model="gpt-4", # Or you can use 'gpt-3.5-turbo' depending on the model you prefer
model="gpt-3.5-turbo",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": prompt}
Expand Down

0 comments on commit 39c97a5

Please sign in to comment.