Skip to content

Commit

Permalink
com.openai.unity 3.0.2 (#39)
Browse files Browse the repository at this point in the history
- fixes #38 max token parameter not being set in constructor.
  • Loading branch information
StephenHodgson authored Mar 4, 2023
1 parent 5c767ab commit 297ccf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Runtime/Chat/ChatRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public ChatRequest(
TopP = topP;
Number = number;
Stops = stops;
MaxTokens = maxTokens;
PresencePenalty = presencePenalty;
FrequencyPenalty = frequencyPenalty;
User = user;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "OpenAI",
"description": "A OpenAI package for the Unity Game Engine to use GPT-3 and Dall-E though their RESTful API (currently in beta).\n\nIndependently developed, this is not an official library and I am not affiliated with OpenAI.\n\nAn OpenAI API account is required.",
"keywords": [],
"version": "3.0.1",
"version": "3.0.2",
"unity": "2021.3",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.openai.unity#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.openai.unity/releases",
Expand All @@ -23,4 +23,4 @@
"publishConfig": {
"registry": "https://package.openupm.com"
}
}
}

0 comments on commit 297ccf7

Please sign in to comment.