LLMEval UI Improvements (#27)

* Feat: LLMEval UI Improvements

1. adds Markdown rendering in the UI
2. Adds init time and token/second stat
3. Minor UI enhancements

* feat: adds a copy to clipboard button for llm outputs

* adds scrollviewreader to sync with main

* ran pre-format to resolve formatting issues

* updates the missing dependency in project definition

* feat: switch between plain text and markdown

adds a segemented picker to switch between plain text and markdown
This commit is contained in:
Ashraful Islam
2024-03-18 11:15:50 -05:00
committed by GitHub
parent 6c270a9d12
commit a7b2b54f18
3 changed files with 123 additions and 12 deletions

View File

@@ -1,4 +1,5 @@
{
"originHash" : "73a943caf561dd1482e57053ba01456f25dea3267b2a84a996e42284e17aa6fc",
"pins" : [
{
"identity" : "gzipswift",
@@ -15,7 +16,16 @@
"location" : "https://github.com/ml-explore/mlx-swift",
"state" : {
"branch" : "main",
"revision" : "948000ceaa27c343f4dd5ce40f727f221bf45c6e"
"revision" : "24e71937e12efe01a0d28a429a703036fae2ff8a"
}
},
{
"identity" : "networkimage",
"kind" : "remoteSourceControl",
"location" : "https://github.com/gonzalezreal/NetworkImage",
"state" : {
"revision" : "7aff8d1b31148d32c5933d75557d42f6323ee3d1",
"version" : "6.0.0"
}
},
{
@@ -45,6 +55,15 @@
"version" : "1.1.0"
}
},
{
"identity" : "swift-markdown-ui",
"kind" : "remoteSourceControl",
"location" : "https://github.com/gonzalezreal/swift-markdown-ui",
"state" : {
"branch" : "main",
"revision" : "ae799d015a5374708f7b4c85f3294c05f2a564e2"
}
},
{
"identity" : "swift-numerics",
"kind" : "remoteSourceControl",