llmstudio 0.3.8a2__tar.gz → 0.3.8a4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/PKG-INFO +11 -42
  2. llmstudio-0.3.8a4/README.md +70 -0
  3. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/engine/providers/provider.py +9 -1
  4. llmstudio-0.3.8a4/llmstudio/engine/providers/tokenizers/cohere-command-nightly.json +1 -0
  5. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/pyproject.toml +2 -1
  6. llmstudio-0.3.8a2/README.md +0 -102
  7. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/LICENSE +0 -0
  8. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/__init__.py +0 -0
  9. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/cli.py +0 -0
  10. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/client.py +0 -0
  11. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/config.py +0 -0
  12. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/engine/__init__.py +0 -0
  13. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/engine/config.yaml +0 -0
  14. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/engine/providers/__init__.py +0 -0
  15. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/engine/providers/anthropic.py +0 -0
  16. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/engine/providers/azure.py +0 -0
  17. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/engine/providers/ollama.py +0 -0
  18. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/engine/providers/openai.py +0 -0
  19. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/engine/providers/vertex.py +0 -0
  20. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/llm/__init__.py +0 -0
  21. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/llm/langchain.py +0 -0
  22. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tests/__init__.py +0 -0
  23. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tests/conftest.py +0 -0
  24. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tests/engine/test_engine.py +0 -0
  25. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tests/engine/test_providers.py +0 -0
  26. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/__init__.py +0 -0
  27. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/database.py +0 -0
  28. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/logs/__init__.py +0 -0
  29. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/logs/crud.py +0 -0
  30. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/logs/endpoints.py +0 -0
  31. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/logs/models.py +0 -0
  32. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/logs/schemas.py +0 -0
  33. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/session/__init__.py +0 -0
  34. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/session/crud.py +0 -0
  35. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/session/endpoints.py +0 -0
  36. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/session/models.py +0 -0
  37. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/session/schemas.py +0 -0
  38. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/tracking/tracker.py +0 -0
  39. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/.eslintrc.json +0 -0
  40. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/.gitignore +0 -0
  41. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/.prettierrc.json +0 -0
  42. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/__init__.py +0 -0
  43. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/components.json +0 -0
  44. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/global.d.ts +0 -0
  45. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/next.config.js +0 -0
  46. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/package-lock.json +0 -0
  47. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/package.json +0 -0
  48. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/postcss.config.js +0 -0
  49. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/logo.json +0 -0
  50. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/ai.svg +0 -0
  51. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/arrow.svg +0 -0
  52. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/compare.svg +0 -0
  53. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/home.svg +0 -0
  54. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/load.svg +0 -0
  55. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/magic.svg +0 -0
  56. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/play.svg +0 -0
  57. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/playground.svg +0 -0
  58. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/plus.svg +0 -0
  59. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/settings.svg +0 -0
  60. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/public/svg/sparkles.svg +0 -0
  61. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/compare/page.tsx +0 -0
  62. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/dashboard/hooks/useDashboardFetch.tsx +0 -0
  63. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/dashboard/page.tsx +0 -0
  64. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/ColumnHeader.tsx +0 -0
  65. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/DataTable.tsx +0 -0
  66. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/FacetedFilter.tsx +0 -0
  67. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/Pagination.tsx +0 -0
  68. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/RowActions.tsx +0 -0
  69. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/Toolbar.tsx +0 -0
  70. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/UserNav.tsx +0 -0
  71. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/ViewOptions.tsx +0 -0
  72. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/columns.tsx +0 -0
  73. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/Input.tsx +0 -0
  74. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/LogSheet.tsx +0 -0
  75. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/ModelItem.tsx +0 -0
  76. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/ModelSelector.tsx +0 -0
  77. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/Output.tsx +0 -0
  78. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/Parameters.tsx +0 -0
  79. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/components/index.tsx +0 -0
  80. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/hooks/useChat.tsx +0 -0
  81. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/hooks/useExport.tsx +0 -0
  82. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/hooks/useLogsFetch.tsx +0 -0
  83. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/hooks/useModelFetch.tsx +0 -0
  84. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/hooks/useParameterFetch.tsx +0 -0
  85. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/page.tsx +0 -0
  86. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/(llm)/playground/store.tsx +0 -0
  87. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/favicon.ico +0 -0
  88. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/globals.css +0 -0
  89. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/layout.tsx +0 -0
  90. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/app/page.tsx +0 -0
  91. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/CodeBlock/index.tsx +0 -0
  92. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/CopyButton/index.tsx +0 -0
  93. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/Header/index.tsx +0 -0
  94. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/Markdown/index.tsx +0 -0
  95. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/Theme/index.tsx +0 -0
  96. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/Toaster/index.tsx +0 -0
  97. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/theme-provider.tsx +0 -0
  98. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/accordion.tsx +0 -0
  99. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/alert-dialog.tsx +0 -0
  100. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/alert.tsx +0 -0
  101. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/aspect-ratio.tsx +0 -0
  102. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/avatar.tsx +0 -0
  103. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/badge.tsx +0 -0
  104. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/button.tsx +0 -0
  105. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/calendar.tsx +0 -0
  106. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/card.tsx +0 -0
  107. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/checkbox.tsx +0 -0
  108. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/collapsible.tsx +0 -0
  109. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/command.tsx +0 -0
  110. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/context-menu.tsx +0 -0
  111. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/dialog.tsx +0 -0
  112. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/dropdown-menu.tsx +0 -0
  113. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/form.tsx +0 -0
  114. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/hover-card.tsx +0 -0
  115. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/input.tsx +0 -0
  116. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/label.tsx +0 -0
  117. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/menubar.tsx +0 -0
  118. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/navigation-menu.tsx +0 -0
  119. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/popover.tsx +0 -0
  120. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/progress.tsx +0 -0
  121. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/radio-group.tsx +0 -0
  122. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/scroll-area.tsx +0 -0
  123. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/select.tsx +0 -0
  124. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/separator.tsx +0 -0
  125. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/sheet.tsx +0 -0
  126. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/skeleton.tsx +0 -0
  127. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/slider.tsx +0 -0
  128. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/switch.tsx +0 -0
  129. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/table.tsx +0 -0
  130. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/tabs.tsx +0 -0
  131. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/textarea.tsx +0 -0
  132. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/toast.tsx +0 -0
  133. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/toaster.tsx +0 -0
  134. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/toggle-group.tsx +0 -0
  135. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/toggle.tsx +0 -0
  136. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/tooltip.tsx +0 -0
  137. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/components/ui/use-toast.ts +0 -0
  138. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/src/lib/utils.ts +0 -0
  139. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/tailwind.config.js +0 -0
  140. {llmstudio-0.3.8a2 → llmstudio-0.3.8a4}/llmstudio/ui/tsconfig.json +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: llmstudio
3
- Version: 0.3.8a2
3
+ Version: 0.3.8a4
4
4
  Summary: Prompt Perfection at Your Fingertips
5
5
  Home-page: https://llmstudio.ai/
6
6
  License: MIT
@@ -26,6 +26,7 @@ Requires-Dist: requests (>=2.31.0,<3.0.0)
26
26
  Requires-Dist: sqlalchemy (>=2.0.27,<3.0.0)
27
27
  Requires-Dist: tiktoken (>=0.7.0,<0.8.0)
28
28
  Requires-Dist: tokenizer (>=3.4.3,<4.0.0)
29
+ Requires-Dist: transformers (>=4.29.1,<5.0.0)
29
30
  Requires-Dist: uvicorn (>=0.27.0,<0.28.0)
30
31
  Project-URL: Bug Tracker, https://github.com/tensoropsai/llmstudio/issues
31
32
  Project-URL: Documentation, https://docs.llmstudio.ai
@@ -38,38 +39,19 @@ Prompt Engineering at your fingertips
38
39
 
39
40
  ![LLMstudio logo](https://imgur.com/Xqsj6V2.gif)
40
41
 
41
- > [!IMPORTANT]
42
- > LLMstudio is now supporting OpenAI v1.0 + just added support to Anthropic
43
-
44
42
  ## 🌟 Features
45
43
 
46
44
  ![LLMstudio UI](https://imgur.com/wrwiIUs.png)
47
45
 
48
- 1. **Python Client Gateway**:
49
- - Access models from known providers such as OpenAI, VertexAI and Bedrock. All in one platform.
50
- - Speed up development with tracking and robustness features from LLMstudio.
51
- - Continue using popular libraries like LangChain through their LLMstudio-wrapped versions.
52
- 2. **Prompt Editing UI**:
53
- - An intuitive interface designed for prompt engineering.
54
- - Quickly iterate between prompts until you reach your desired results.
55
- - Access the history of your previous prompts and their results.
56
- 3. **History Management**:
57
- - Track past runs, available for both on the UI and the Client.
58
- - Log the cost, latency and output of each prompt.
59
- - Export the history to a CSV.
60
- 4. **Context Limit Adaptability**:
61
- - Automatic switch to a larger-context fallback model if the current model's context limit is exceeded.
62
- - Always use the lowest context model and only use the higher context ones when necessary to save costs.
63
- - For instance, exceeding 4k tokens in gpt-3.5-turbo triggers a switch to gpt-3.5-turbo-16k.
64
-
65
- ### 👀 Coming soon:
66
-
67
- - Side-by-side comparison of multiple LLMs using the same prompt.
68
- - Automated testing and validation for your LLMs. (Create Unit-tests for your LLMs which are evaluated automatically)
69
- - API key administration. (Define quota limits)
70
- - Projects and sessions. (Organize your History and API keys by project)
71
- - Resilience against service provider rate limits.
72
- - Organized tracking of groups of related prompts (Chains, Agents)
46
+ - **LLM Proxy Access**: Seamless access to all the latest LLMs by OpenAI, Anthropic, Google.
47
+ - **Custom and Local LLM Support**: Use custom or local open-source LLMs through Ollama.
48
+ - **Prompt Playground UI**: A user-friendly interface for engineering and fine-tuning your prompts.
49
+ - **Python SDK**: Easily integrate LLMstudio into your existing workflows.
50
+ - **Monitoring and Logging**: Keep track of your usage and performance for all requests.
51
+ - **LangChain Integration**: LLMstudio integrates with your already existing LangChain projects.
52
+ - **Batch Calling**: Send multiple requests at once for improved efficiency.
53
+ - **Smart Routing and Fallback**: Ensure 24/7 availability by routing your requests to trusted LLMs.
54
+ - **Type Casting (soon)**: Convert data types as needed for your specific use case.
73
55
 
74
56
  ## 🚀 Quickstart
75
57
 
@@ -104,23 +86,10 @@ llmstudio server --ui
104
86
 
105
87
  When the `--ui` flag is set, you'll be able to access the UI at [http://localhost:3000](http://localhost:3000)
106
88
 
107
- ## 🤔 About LLMstudio
108
-
109
- Powered by TensorOps, LLMstudio redefines your experience with OpenAI, Vertex Ai and more language model providers. More than just a tool, it’s an evolving environment where teams can experiment, modify, and optimize their interactions with advanced language models.
110
-
111
- Benefits include:
112
-
113
- - **Streamlined Prompt Engineering**: Simplify and enhance your prompt design process.
114
- - **Execution History**: Keep a detailed log of past executions, track progress, and make iterative improvements effortlessly.
115
- - **Effortless Data Export**: Share your team's endeavors by exporting data to shareable CSV files.
116
-
117
- Step into the future of AI with LLMstudio, by watching our [introduction video](https://www.youtube.com/watch?v=I9h701fbD18)
118
-
119
89
  ## 📖 Documentation
120
90
 
121
91
  - [Visit our docs to learn how the SDK works](https://docs.LLMstudio.ai) (coming soon)
122
92
  - Checkout our [notebook examples](https://github.com/TensorOpsAI/LLMstudio/tree/main/examples) to follow along with interactive tutorials
123
- - Checkout out [LLMstudio Architecture Roadmap](https://github.com/TensorOpsAI/LLMstudio/blob/main/docs/LLMstudio-architecture/LLMstudio-architecture-roadmap.md)
124
93
 
125
94
  ## 👨‍💻 Contributing
126
95
 
@@ -0,0 +1,70 @@
1
+ # LLMstudio by [TensorOps](http://tensorops.ai "TensorOps")
2
+
3
+ Prompt Engineering at your fingertips
4
+
5
+ ![LLMstudio logo](https://imgur.com/Xqsj6V2.gif)
6
+
7
+ ## 🌟 Features
8
+
9
+ ![LLMstudio UI](https://imgur.com/wrwiIUs.png)
10
+
11
+ - **LLM Proxy Access**: Seamless access to all the latest LLMs by OpenAI, Anthropic, Google.
12
+ - **Custom and Local LLM Support**: Use custom or local open-source LLMs through Ollama.
13
+ - **Prompt Playground UI**: A user-friendly interface for engineering and fine-tuning your prompts.
14
+ - **Python SDK**: Easily integrate LLMstudio into your existing workflows.
15
+ - **Monitoring and Logging**: Keep track of your usage and performance for all requests.
16
+ - **LangChain Integration**: LLMstudio integrates with your already existing LangChain projects.
17
+ - **Batch Calling**: Send multiple requests at once for improved efficiency.
18
+ - **Smart Routing and Fallback**: Ensure 24/7 availability by routing your requests to trusted LLMs.
19
+ - **Type Casting (soon)**: Convert data types as needed for your specific use case.
20
+
21
+ ## 🚀 Quickstart
22
+
23
+ Don't forget to check out [https://docs.llmstudio.ai](docs) page.
24
+
25
+ ## Installation
26
+
27
+ Install the latest version of **LLMstudio** using `pip`. We suggest that you create and activate a new environment using `conda`
28
+
29
+ ```bash
30
+ pip install llmstudio
31
+ ```
32
+
33
+ Install `bun` if you want to use the UI
34
+
35
+ ```bash
36
+ curl -fsSL https://bun.sh/install | bash
37
+ ```
38
+
39
+ Create a `.env` file at the same path you'll run **LLMstudio**
40
+
41
+ ```bash
42
+ OPENAI_API_KEY="sk-api_key"
43
+ ANTHROPIC_API_KEY="sk-api_key"
44
+ ```
45
+
46
+ Now you should be able to run **LLMstudio** using the following command.
47
+
48
+ ```bash
49
+ llmstudio server --ui
50
+ ```
51
+
52
+ When the `--ui` flag is set, you'll be able to access the UI at [http://localhost:3000](http://localhost:3000)
53
+
54
+ ## 📖 Documentation
55
+
56
+ - [Visit our docs to learn how the SDK works](https://docs.LLMstudio.ai) (coming soon)
57
+ - Checkout our [notebook examples](https://github.com/TensorOpsAI/LLMstudio/tree/main/examples) to follow along with interactive tutorials
58
+
59
+ ## 👨‍💻 Contributing
60
+
61
+ - Head on to our [Contribution Guide](https://github.com/TensorOpsAI/LLMstudio/tree/main/CONTRIBUTING.md) to see how you can help LLMstudio.
62
+ - Join our [Discord](https://discord.gg/GkAfPZR9wy) to talk with other LLMstudio enthusiasts.
63
+
64
+ ## Training
65
+
66
+ [![Banner](https://imgur.com/XTRFZ4m.png)](https://www.tensorops.ai/llm-studio-workshop)
67
+
68
+ ---
69
+
70
+ Thank you for choosing LLMstudio. Your journey to perfecting AI interactions starts here.
@@ -29,6 +29,7 @@ from openai.types.chat.chat_completion_message import FunctionCall
29
29
  from openai.types.chat.chat_completion_message_tool_call import Function
30
30
  from pydantic import BaseModel, ValidationError
31
31
  from tokenizers import Tokenizer
32
+ from transformers import PreTrainedTokenizerFast
32
33
 
33
34
  from llmstudio.tracking.tracker import tracker
34
35
 
@@ -374,7 +375,14 @@ class Provider:
374
375
  def _get_tokenizer(self) -> Tokenizer:
375
376
  return {
376
377
  "anthropic": Anthropic().get_tokenizer(),
377
- "cohere": Tokenizer.from_pretrained("Cohere/command-nightly"),
378
+ "cohere": PreTrainedTokenizerFast(
379
+ tokenizer_file=Path(
380
+ os.path.join(
381
+ os.path.dirname(__file__),
382
+ "tokenizers/cohere-command-nightly.json",
383
+ )
384
+ )
385
+ ),
378
386
  }.get(self.config.id, tiktoken.get_encoding("cl100k_base"))
379
387
 
380
388
  def save_log(self, response: Dict[str, Any]):