-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor document search functionality using
langchain framework
- Loading branch information
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { askDok } from "./llmDocSearchUtils.js"; | ||
|
||
// console.log(askDok("html", "https://snl.no/Gro_Harlem_Brundtland", "I hvilke perioder var Gro statsminister?")); | ||
console.log(askDok("md", "docs/delingsinfo.md", "Hva skjer med eposten min?")) | ||
console.log(askDok("html", "https://snl.no/Vestfold_og_Telemark", "Hvor mange hytter finnes det i fylket?")); | ||
// console.log(askDok("md", "docs/delingsinfo.md", "Kan jeg arkivere filer fra Teams?")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters