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

Support for additional parameters? #208

Closed
merefield opened this issue Mar 4, 2023 · 2 comments
Closed

Support for additional parameters? #208

merefield opened this issue Mar 4, 2023 · 2 comments

Comments

@merefield
Copy link

merefield commented Mar 4, 2023

I don't believe this was covered explicitly in your documentation exactly, so just want to check.

If we want to pass an additional parameter, can we just add them as perhaps one would expect?

e.g. for adding temperature is this ok?:

        response = @client.chat(
          parameters: {
              model: "gpt-3.5-turbo",
              messages: messages,
              temperature: 0.7
          })

etc.

@merefield merefield changed the title Additional parameters Support for additional parameters? Mar 4, 2023
@alexrudall
Copy link
Owner

Hi buddy, yes you certainly can. I've tweaked the README to make this a bit clearer

@merefield
Copy link
Author

merefield commented Mar 4, 2023

You are a ⭐, thanks!

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

No branches or pull requests

2 participants