This file contains hidden or 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
| # /// script | |
| # dependencies = [ | |
| # "sentence-transformers>=2.6.0", | |
| # "datasets", | |
| # "rank-bm25", | |
| # "faiss-cpu", | |
| # "tqdm", | |
| # "torch", | |
| # ] | |
| # /// |
This file contains hidden or 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
| private async void Media() | |
| { | |
| var groups = await MediaFrameSourceGroup.FindAllAsync(); | |
| foreach (var group in groups) | |
| { | |
| Debug.WriteLine(group.DisplayName); | |
| } | |
| var selectedGroup = groups.First(); |