Browse Source

Update examples/typescript-functioncalling/extractwp.ts

Co-authored-by: Bruce MacDonald <brucewmacdonald@gmail.com>
Matt Williams 1 year ago
parent
commit
48896f626c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/typescript-functioncalling/extractwp.ts

+ 1 - 1
examples/typescript-functioncalling/extractwp.ts

@@ -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