Skip to content

Commit

Permalink
Fix example.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgrammel committed Aug 12, 2023
1 parent 92c8d36 commit dbea4f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ dotenv.config();
fs.readFileSync("data/san-francisco-wikipedia.json", "utf8")
).content;

const { value: extractedInformation1 } = await extractNameAndPopulation(
const extractedInformation1 = await extractNameAndPopulation(
sanFranciscoWikipedia.slice(0, 2000)
);

console.log(extractedInformation1);

const { value: extractedInformation2 } = await extractNameAndPopulation(
const extractedInformation2 = await extractNameAndPopulation(
"Carl was a friendly robot."
);

Expand Down

0 comments on commit dbea4f8

Please sign in to comment.