This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In addition to adding these extra tools, this change copies the gateway tool to the main tool, changing ${KNOWLEDGE_BIN} to ${GPTSCRIPT_TOOL_DIR}/bin/gptscript-tool so it can be used with the gptscript packaging. Signed-off-by: Donnie Adams <[email protected]>
- Loading branch information
1 parent
9134b45
commit 14bd9a2
Showing
3 changed files
with
159 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Name: Knowledge Deletion | ||
Description: Delete a dataset. | ||
Credential: github.com/gptscript-ai/gateway-creds as github.com/gptscript-ai/gateway | ||
|
||
#!${GPTSCRIPT_TOOL_DIR}/bin/gptscript-go-tool delete-dataset "${GPTSCRIPT_INPUT}" |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Name: Knowledge Ingestion | ||
Description: Ingest content into a dataset. | ||
Credential: github.com/gptscript-ai/gateway-creds as github.com/gptscript-ai/gateway | ||
|
||
#!${GPTSCRIPT_TOOL_DIR}/bin/gptscript-go-tool ingest --prune --dataset ${GPTSCRIPT_DATASET} "${GPTSCRIPT_INPUT}" |
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