Skip to content

Commit

Permalink
pypi setup
Browse files Browse the repository at this point in the history
  • Loading branch information
macabdul9 committed Dec 19, 2024
1 parent a4d56df commit c9562ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ openai_generator = AnyGen(model_type="openai", api_key_fp=api_key_fp)

# Generate text with parameters
prompt = "Write python code for binary search"
parameters = {"temperature": 0.7, "max_tokens": 100, "model": "gpt-4"}
parameters = {"temperature": 0.7, "max_tokens": 512}
generated_text = openai_generator.generate(prompt, parameters)
print(generated_text)
```
Expand Down

0 comments on commit c9562ac

Please sign in to comment.