-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from TekMonksGitHub/feature/dev-pr
Add in support for extra document ingestion
- Loading branch information
Showing
5 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
backend/apps/neuranet/neuranetapp/conf/ingestionchain.json
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,13 @@ | ||
{ | ||
"chain": [ | ||
{ | ||
"_rephrase": "document_rephrase.txt" | ||
}, | ||
{ | ||
"_summary": "document_summary.txt" | ||
}, | ||
{ | ||
"_advisory": "document_advisory.txt" | ||
} | ||
] | ||
} |
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
4 changes: 4 additions & 0 deletions
4
backend/apps/neuranet/neuranetapp/training_prompts/document_advisory.txt
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,4 @@ | ||
Rephrase this document into an advisory document with multiple sub categories based on the below instructions | ||
--- group this document information into different departments within an organisation so that the information is specific to that certain role. | ||
|
||
{{{content}}} |
4 changes: 4 additions & 0 deletions
4
backend/apps/neuranet/neuranetapp/training_prompts/document_rephrase.txt
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,4 @@ | ||
rephrase the content based on the below instructions | ||
---infer the contents and rephrase it in a more generic context that most people without expertise or knowledge can understand | ||
|
||
{{{content}}} |
4 changes: 4 additions & 0 deletions
4
backend/apps/neuranet/neuranetapp/training_prompts/document_summary.txt
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,4 @@ | ||
Summarize the content based on the below instructions | ||
---Infer the contents and Summarize it based on keywords | ||
|
||
{{{content}}} |