Skip to content

Commit

Permalink
Updated package
Browse files Browse the repository at this point in the history
  • Loading branch information
valkjsaaa committed Nov 23, 2023
1 parent 44a533d commit 26d8415
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/nl/nl-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export class NlParser {
): Promise<string | null> {
const prompt = this.prompt.response_prompt(nl, parsed, result);
const response = await this.openAiApi.createCompletion({
model: "text-davinci-003",
model: "gpt-3.5-turbo-instruct",
prompt: prompt,
temperature: 0.7,
max_tokens: 512,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactgenie-dsl",
"version": "0.0.50",
"version": "0.0.51",
"description": "A natural language parser based on a large language model",
"scripts": {
"prepare": "peggy lib/dsl/parser.pegjs -o lib/dsl/parser.gen.js && tsc",
Expand Down

0 comments on commit 26d8415

Please sign in to comment.