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

Add chat_model.openai #35

Merged
merged 14 commits into from
Apr 12, 2023
Merged

Add chat_model.openai #35

merged 14 commits into from
Apr 12, 2023

Conversation

EniasCailliau
Copy link
Contributor

@EniasCailliau EniasCailliau commented Apr 12, 2023

Feel free to ignore the jupyter nb formatting.

extra = Extra.allow

def __init__(
self, client: Steamship, model_name: str = "gpt-4", moderate_output: bool = True, **kwargs
Copy link
Collaborator

Choose a reason for hiding this comment

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

just to be clear: is gpt-4 the default or is gpt-3.5-turbo the default (from above `model_name: str = "gpt-3.5-turbo")?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch!

@EniasCailliau EniasCailliau merged commit 644d91f into main Apr 12, 2023
2 checks passed
@douglas-reid douglas-reid deleted the ec/fix-chat-interface branch April 12, 2023 21:24
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.

None yet

2 participants