llmstudio 0.3.8a0__tar.gz → 0.3.8a3__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.
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/PKG-INFO +13 -44
- llmstudio-0.3.8a3/README.md +70 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/engine/providers/provider.py +9 -1
- llmstudio-0.3.8a3/llmstudio/engine/providers/tokenizers/cohere-command-nightly.json +1 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/pyproject.toml +4 -3
- llmstudio-0.3.8a0/README.md +0 -102
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/LICENSE +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/__init__.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/cli.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/client.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/config.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/engine/__init__.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/engine/config.yaml +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/engine/providers/__init__.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/engine/providers/anthropic.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/engine/providers/azure.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/engine/providers/ollama.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/engine/providers/openai.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/engine/providers/vertex.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/llm/__init__.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/llm/langchain.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tests/__init__.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tests/conftest.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tests/engine/test_engine.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tests/engine/test_providers.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/__init__.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/database.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/logs/__init__.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/logs/crud.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/logs/endpoints.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/logs/models.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/logs/schemas.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/session/__init__.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/session/crud.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/session/endpoints.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/session/models.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/session/schemas.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/tracking/tracker.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/.eslintrc.json +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/.gitignore +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/.prettierrc.json +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/__init__.py +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/components.json +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/global.d.ts +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/next.config.js +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/package-lock.json +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/package.json +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/postcss.config.js +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/logo.json +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/ai.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/arrow.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/compare.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/home.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/load.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/magic.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/play.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/playground.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/plus.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/settings.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/public/svg/sparkles.svg +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/compare/page.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/dashboard/hooks/useDashboardFetch.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/dashboard/page.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/ColumnHeader.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/DataTable.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/FacetedFilter.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/Pagination.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/RowActions.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/Toolbar.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/UserNav.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/ViewOptions.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/DataTable/columns.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/Input.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/LogSheet.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/ModelItem.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/ModelSelector.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/Output.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/Parameters.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/components/index.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/hooks/useChat.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/hooks/useExport.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/hooks/useLogsFetch.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/hooks/useModelFetch.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/hooks/useParameterFetch.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/page.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/(llm)/playground/store.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/favicon.ico +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/globals.css +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/layout.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/app/page.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/CodeBlock/index.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/CopyButton/index.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/Header/index.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/Markdown/index.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/Theme/index.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/Toaster/index.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/theme-provider.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/accordion.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/alert-dialog.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/alert.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/aspect-ratio.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/avatar.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/badge.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/button.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/calendar.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/card.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/checkbox.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/collapsible.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/command.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/context-menu.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/dialog.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/dropdown-menu.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/form.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/hover-card.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/input.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/label.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/menubar.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/navigation-menu.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/popover.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/progress.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/radio-group.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/scroll-area.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/select.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/separator.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/sheet.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/skeleton.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/slider.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/switch.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/table.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/tabs.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/textarea.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/toast.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/toaster.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/toggle-group.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/toggle.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/tooltip.tsx +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/components/ui/use-toast.ts +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/src/lib/utils.ts +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/tailwind.config.js +0 -0
- {llmstudio-0.3.8a0 → llmstudio-0.3.8a3}/llmstudio/ui/tsconfig.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llmstudio
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.8a3
|
|
4
4
|
Summary: Prompt Perfection at Your Fingertips
|
|
5
5
|
Home-page: https://llmstudio.ai/
|
|
6
6
|
License: MIT
|
|
@@ -18,14 +18,15 @@ Requires-Dist: aiohttp (>=3.9.1,<4.0.0)
|
|
|
18
18
|
Requires-Dist: anthropic (>=0.16.0,<0.17.0)
|
|
19
19
|
Requires-Dist: fastapi (>=0.109.1,<0.110.0)
|
|
20
20
|
Requires-Dist: google-generativeai (>=0.5.4,<0.6.0)
|
|
21
|
-
Requires-Dist: langchain-experimental (>=0.0.
|
|
22
|
-
Requires-Dist: openai (>=1.
|
|
21
|
+
Requires-Dist: langchain-experimental (>=0.0.52,<0.0.53)
|
|
22
|
+
Requires-Dist: openai (>=1.6.1,<2.0.0)
|
|
23
23
|
Requires-Dist: pydantic (>=2.5.3,<3.0.0)
|
|
24
24
|
Requires-Dist: python-dotenv (>=1.0.0,<2.0.0)
|
|
25
25
|
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.5.2,<0.6.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.25.0,<0.26.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
|

|
|
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
|

|
|
47
45
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
+

|
|
6
|
+
|
|
7
|
+
## 🌟 Features
|
|
8
|
+
|
|
9
|
+

|
|
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
|
+
[](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":
|
|
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]):
|