Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
add: load tool
Browse files Browse the repository at this point in the history
  • Loading branch information
iwilltry42 committed Oct 10, 2024
1 parent cec79ef commit 4185ed0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tool.gpt
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,11 @@ async def main():

asyncio.run(main())

---
Name: Knowledge Load
Description: Load a file and transform it to markdown
Params: input: Path to input file
Params: output: Path to output file where the extracted markdown content should be written to. Should end with .md
Params: loader: Optionally choose a specific loader for the file to not rely on the default. Only use if explicitly specified.

#!${GPTSCRIPT_TOOL_DIR}/bin/gptscript-go-tool load ${INPUT} ${OUTPUT} ${LOADER:+--loader=${LOADER}}

0 comments on commit 4185ed0

Please sign in to comment.