diff --git a/src/instructlab/schema/v3/knowledge.json b/src/instructlab/schema/v3/knowledge.json index 2bf088a..9415e9a 100644 --- a/src/instructlab/schema/v3/knowledge.json +++ b/src/instructlab/schema/v3/knowledge.json @@ -76,8 +76,6 @@ "description": "The knowledge documents.", "type": "object", "required": [ - "repo", - "commit", "patterns" ], "unevaluatedProperties": false, @@ -85,7 +83,6 @@ "repo": { "description": "The URL to a Git repository holding the knowledge documents.", "type": "string", - "minLength": 1, "examples": [ "https://github.com/instructlab/instructlab.git" ] @@ -93,11 +90,18 @@ "commit": { "description": "The commit in the Git repository containing the knowledge documents.", "type": "string", - "minLength": 1, "examples": [ "951999afdc59c46d325493568193b40bd5439c9e" ] }, + "folder": { + "description": "The absolute path to documents in the local server.", + "type": "string", + "minLength": 1, + "examples": [ + "/home/user/docs/" + ] + }, "patterns": { "description": "An array of glob patterns of the knowledge documents in the Git repository.", "type": "array", @@ -124,4 +128,4 @@ ] } } -} +} \ No newline at end of file