Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default constructor for class GPTEngine #25

Merged
merged 1 commit into from
Oct 5, 2023

Conversation

Yagouus
Copy link
Contributor

@Yagouus Yagouus commented Sep 15, 2023

When using the default parameters in the GPTEngine class constructor error "openai.error.InvalidRequestError" would happen due to the use of the COMPLETION mode with GPT4 engine.

Copy link
Collaborator

@francescofuggitti francescofuggitti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@codecov
Copy link

codecov bot commented Oct 5, 2023

Codecov Report

All modified lines are covered by tests ✅

Files Coverage Δ
nl2ltl/engines/gpt/core.py 58.10% <ø> (ø)

📢 Thoughts on this report? Let us know!.

@francescofuggitti francescofuggitti merged commit b2ab734 into IBM:main Oct 5, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants