Skip to content

Commit

Permalink
Update examples/typescript-functioncalling/extractwp.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
  • Loading branch information
technovangelist and BruceMacD authored Nov 20, 2023
1 parent c57aee6 commit 48896f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/typescript-functioncalling/extractwp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function main() {
}],
}

// Depending on the model chosen, you may have a restricted context.
// Depending on the model chosen, you may be limited by the size of the context window, so limit the context to 2000 words.
const textcontent = await readFile("./wp.txt", "utf-8").then((text) => text.split(" ").slice(0, 2000).join(" "));

// Specific instructions for this task
Expand Down

0 comments on commit 48896f6

Please sign in to comment.