Skip to content

Feature/try to parse error when decoding fails #1

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

Open
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

darvin
Copy link

@darvin darvin commented Mar 7, 2023

No description provided.

Bogdan MacPro M1 and others added 9 commits March 7, 2023 09:46
Added:
user, temperature, topProbabilityMass (top_p), choices (n), stop, presencePenalty (presence_penalty), frequencyPenalty (frequency_penalty).
Fixed typo.
This adds an optional Config struct to the client initialisation.
At the moment, the only configurable item is the URLSession to use - but this is easily extendable in future.
Provided there is always a default Config in the initialiser, this can be ignored by most users.
@albertopeam albertopeam force-pushed the feature/try-to-parse-error-when-decoding-fails branch from 165c03e to 03264aa Compare March 16, 2023 07:57
adamrushy and others added 12 commits March 16, 2023 14:51
…arameters

Added user, temperature, topProbabilityMass, choices, stop, presencePenalty, frequencyPenalty parameters to ChatConversation and sendChat functions.
Add `usage` to `OpenAI` payload struct
This escape hatch allows to use models currently in beta like `gpt-4` or `gpt-4-32k-0314 `, for example.
@albertopeam albertopeam force-pushed the feature/try-to-parse-error-when-decoding-fails branch from 03264aa to dd952c4 Compare March 18, 2023 21:02
@albertopeam albertopeam force-pushed the feature/try-to-parse-error-when-decoding-fails branch from bb44a7e to 4b13ab0 Compare March 30, 2023 20:11
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.

10 participants