-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python: Add Grounding Skill to Samples #1064
Merged
lemillermicrosoft
merged 75 commits into
microsoft:main
from
riedgar-ms:riedgar-ms/grounding-skill
Jun 15, 2023
Merged
Python: Add Grounding Skill to Samples #1064
lemillermicrosoft
merged 75 commits into
microsoft:main
from
riedgar-ms:riedgar-ms/grounding-skill
Jun 15, 2023
Commits on May 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7c65af2 - Browse repository at this point
Copy the full SHA 7c65af2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e9d2a2 - Browse repository at this point
Copy the full SHA 2e9d2a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b3ddc6 - Browse repository at this point
Copy the full SHA 4b3ddc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8229a4 - Browse repository at this point
Copy the full SHA b8229a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84894a4 - Browse repository at this point
Copy the full SHA 84894a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54cb098 - Browse repository at this point
Copy the full SHA 54cb098View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2175359 - Browse repository at this point
Copy the full SHA 2175359View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c82cb7 - Browse repository at this point
Copy the full SHA 7c82cb7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 73147bd - Browse repository at this point
Copy the full SHA 73147bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for babd133 - Browse repository at this point
Copy the full SHA babd133View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc67c6e - Browse repository at this point
Copy the full SHA cc67c6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b897fdb - Browse repository at this point
Copy the full SHA b897fdbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8320891 - Browse repository at this point
Copy the full SHA 8320891View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dece5b - Browse repository at this point
Copy the full SHA 4dece5bView commit details
Commits on May 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c4e424d - Browse repository at this point
Copy the full SHA c4e424dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 428cbd8 - Browse repository at this point
Copy the full SHA 428cbd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3453ff - Browse repository at this point
Copy the full SHA a3453ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca22bc2 - Browse repository at this point
Copy the full SHA ca22bc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d3b4ef - Browse repository at this point
Copy the full SHA 0d3b4efView commit details
Commits on May 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7bd384e - Browse repository at this point
Copy the full SHA 7bd384eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32955f4 - Browse repository at this point
Copy the full SHA 32955f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9352ae - Browse repository at this point
Copy the full SHA d9352aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50ecb8a - Browse repository at this point
Copy the full SHA 50ecb8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b9bfe43 - Browse repository at this point
Copy the full SHA b9bfe43View commit details -
Configuration menu - View commit details
-
Copy full SHA for c729e77 - Browse repository at this point
Copy the full SHA c729e77View commit details
Commits on May 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f539a6b - Browse repository at this point
Copy the full SHA f539a6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 781e389 - Browse repository at this point
Copy the full SHA 781e389View commit details -
Configuration menu - View commit details
-
Copy full SHA for de17dc0 - Browse repository at this point
Copy the full SHA de17dc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for be7b976 - Browse repository at this point
Copy the full SHA be7b976View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15e6d2f - Browse repository at this point
Copy the full SHA 15e6d2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 854c884 - Browse repository at this point
Copy the full SHA 854c884View commit details
Commits on May 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c283e5d - Browse repository at this point
Copy the full SHA c283e5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for b04ec96 - Browse repository at this point
Copy the full SHA b04ec96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 265e84e - Browse repository at this point
Copy the full SHA 265e84eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cac429 - Browse repository at this point
Copy the full SHA 0cac429View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa35d5d - Browse repository at this point
Copy the full SHA aa35d5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38b24e7 - Browse repository at this point
Copy the full SHA 38b24e7View commit details
Commits on May 31, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 03621bb - Browse repository at this point
Copy the full SHA 03621bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for abde647 - Browse repository at this point
Copy the full SHA abde647View commit details -
Configuration menu - View commit details
-
Copy full SHA for 913bce3 - Browse repository at this point
Copy the full SHA 913bce3View commit details -
Configuration menu - View commit details
-
Copy full SHA for e879fbf - Browse repository at this point
Copy the full SHA e879fbfView commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6c92315 - Browse repository at this point
Copy the full SHA 6c92315View commit details -
Configuration menu - View commit details
-
Copy full SHA for c29dbfd - Browse repository at this point
Copy the full SHA c29dbfdView commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6870439 - Browse repository at this point
Copy the full SHA 6870439View commit details
Commits on Jun 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fd004cb - Browse repository at this point
Copy the full SHA fd004cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f95161 - Browse repository at this point
Copy the full SHA 3f95161View commit details
Commits on Jun 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d47da5e - Browse repository at this point
Copy the full SHA d47da5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbaf9fe - Browse repository at this point
Copy the full SHA dbaf9feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b581b3 - Browse repository at this point
Copy the full SHA 1b581b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c5ec7b - Browse repository at this point
Copy the full SHA 9c5ec7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e66eaba - Browse repository at this point
Copy the full SHA e66eabaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5be1b1 - Browse repository at this point
Copy the full SHA c5be1b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6a70d - Browse repository at this point
Copy the full SHA 4e6a70dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41fb9d0 - Browse repository at this point
Copy the full SHA 41fb9d0View commit details
Commits on Jun 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 414be23 - Browse repository at this point
Copy the full SHA 414be23View commit details
Commits on Jun 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c4bd800 - Browse repository at this point
Copy the full SHA c4bd800View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d8eadb - Browse repository at this point
Copy the full SHA 9d8eadbView commit details
Commits on Jun 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8dc081c - Browse repository at this point
Copy the full SHA 8dc081cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9251c8 - Browse repository at this point
Copy the full SHA d9251c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f9f18c4 - Browse repository at this point
Copy the full SHA f9f18c4View commit details -
Groundedness improvments and dotnet examples (#1)
* 👩💻 Update kernel syntax, grounding skill, and add groundedness checks example This commit updates the kernel syntax examples in the dotnet sample project to comment out some of the examples that are not needed for testing. It also modifies the grounding skill to use separate parameters for the input text, the reference context, and the entities to check. The skprompt files for the grounding skill are updated accordingly. Additionally, this commit adds a new example file for demonstrating how to use the GroundingSkill to remove the entities which are not grounded in the original text. The example uses the KernelBuilder to import the GroundingSkill and the SummarizeSkill from the sample skills directory, and then uses the SequentialPlanner to create and invoke a plan that takes a text input and returns a grounded summary. The example also shows how to use the TextSkill to print the results * 🔧 Add entities variable to grounding check This commit adds a new variable to the context of the reference check method, which contains the extracted entities from the summary text. This variable is used by the reference check method to perform grounding checks on the entities and ensure they are consistent with the reference context. This improves the accuracy and reliability of the reference check method and the quality of the summaries. * 🐛 Fix groundedness checks in kernel syntax examples The previous code for the groundedness checks in the kernel syntax examples had some errors and inconsistencies. This commit fixes the following issues: - The extractionResult and groundingResult variables were not properly cast to strings before being used as arguments or printed to the console. - The entity_excision function was invoked with the wrong argument, passing the groundingResult instead of the context. - The final output message was missing the word "Planning" to indicate the task. * Undo program.cs changes * 📝 Update groundedness checks example This commit updates the groundedness checks example in the kernel syntax examples folder. It adds some comments and example output to the code, and removes an unnecessary line that printed the ask variable. It also improves the formatting of the ask variable by removing the extra quotes and using a single line string. The commit aims to make the example more clear and readable for the users. * 📝 Remove context from skprompt.txt The context section in skprompt.txt was redundant and irrelevant for the task of parsing references to items. This commit removes the context section and updates the task description accordingly. This simplifies the task and makes it more focused on the reference check entities skill. --------- Co-authored-by: Richard Edgar (Microsoft) <riedgar@microsoft.com> Co-authored-by: Lee Miller <lemillermicrosoft@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 49e54e9 - Browse repository at this point
Copy the full SHA 49e54e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e97a47 - Browse repository at this point
Copy the full SHA 0e97a47View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0311ded - Browse repository at this point
Copy the full SHA 0311dedView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b8d1f - Browse repository at this point
Copy the full SHA 02b8d1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40fd357 - Browse repository at this point
Copy the full SHA 40fd357View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44dd164 - Browse repository at this point
Copy the full SHA 44dd164View commit details -
Configuration menu - View commit details
-
Copy full SHA for f80abdc - Browse repository at this point
Copy the full SHA f80abdcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98c0c9e - Browse repository at this point
Copy the full SHA 98c0c9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8157616 - Browse repository at this point
Copy the full SHA 8157616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 028d512 - Browse repository at this point
Copy the full SHA 028d512View commit details
Commits on Jun 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cd98a40 - Browse repository at this point
Copy the full SHA cd98a40View commit details -
Merge branch 'riedgar-ms/grounding-skill' of https://github.com/riedg…
…ar-ms/semantic-kernel into riedgar-ms/grounding-skill
Configuration menu - View commit details
-
Copy full SHA for 0a3ee6a - Browse repository at this point
Copy the full SHA 0a3ee6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for af768f2 - Browse repository at this point
Copy the full SHA af768f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 460dd30 - Browse repository at this point
Copy the full SHA 460dd30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b87be2 - Browse repository at this point
Copy the full SHA 4b87be2View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.