Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
215a27fd
Unverified
Commit
215a27fd
authored
Aug 22, 2023
by
zxhlyh
Committed by
GitHub
Aug 22, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Feat/add xinference openllm provider (#958)
parent
5cba2e70
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
1119 additions
and
3 deletions
+1119
-3
openllm-text.svg
.../components/base/icons/assets/public/llm/openllm-text.svg
+19
-0
openllm.svg
web/app/components/base/icons/assets/public/llm/openllm.svg
+12
-0
xorbits-inference-text.svg
...s/base/icons/assets/public/llm/xorbits-inference-text.svg
+42
-0
xorbits-inference.svg
...onents/base/icons/assets/public/llm/xorbits-inference.svg
+24
-0
Openllm.json
web/app/components/base/icons/src/public/llm/Openllm.json
+83
-0
Openllm.tsx
web/app/components/base/icons/src/public/llm/Openllm.tsx
+14
-0
OpenllmText.json
...app/components/base/icons/src/public/llm/OpenllmText.json
+143
-0
OpenllmText.tsx
web/app/components/base/icons/src/public/llm/OpenllmText.tsx
+14
-0
XorbitsInference.json
...omponents/base/icons/src/public/llm/XorbitsInference.json
+176
-0
XorbitsInference.tsx
...components/base/icons/src/public/llm/XorbitsInference.tsx
+14
-0
XorbitsInferenceText.json
...nents/base/icons/src/public/llm/XorbitsInferenceText.json
+329
-0
XorbitsInferenceText.tsx
...onents/base/icons/src/public/llm/XorbitsInferenceText.tsx
+14
-0
index.ts
web/app/components/base/icons/src/public/llm/index.ts
+4
-0
DotsHorizontal.json
...ts/base/icons/src/vender/line/general/DotsHorizontal.json
+1
-1
index.ts
...onents/header/account-setting/model-page/configs/index.ts
+4
-0
openllm.tsx
...nts/header/account-setting/model-page/configs/openllm.tsx
+89
-0
xinference.tsx
.../header/account-setting/model-page/configs/xinference.tsx
+128
-0
declarations.ts
...ponents/header/account-setting/model-page/declarations.ts
+2
-0
index.tsx
...pp/components/header/account-setting/model-page/index.tsx
+4
-0
Setting.tsx
.../header/account-setting/model-page/model-item/Setting.tsx
+2
-1
utils.ts
...app/components/header/account-setting/model-page/utils.ts
+1
-1
No files found.
web/app/components/base/icons/assets/public/llm/openllm-text.svg
0 → 100644
View file @
215a27fd
<svg
width=
"92"
height=
"25"
viewBox=
"0 0 92 25"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
clip-path=
"url(#clip0_9850_26886)"
>
<path
d=
"M24.9181 1.27026C24.8737 1.12859 24.813 0.994621 24.7379 0.871257C24.6473 0.721871 24.5355 0.586942 24.4073 0.470325C24.3861 0.451049 24.3639 0.431773 24.3417 0.413462C24.1856 0.284315 24.0073 0.181191 23.8136 0.109871C23.6199 0.0385512 23.4107 0 23.1929 0H6.99952C6.96289 0 6.92627 0.00192756 6.88965 0.00385512C6.87905 0.00385512 6.86748 0.00578268 6.85688 0.00674646C6.83086 0.00867402 6.80387 0.0115654 6.77785 0.0144567C6.76628 0.0154205 6.75568 0.017348 6.74508 0.0183118C6.71424 0.0231307 6.6834 0.0279496 6.65256 0.0337323C6.64774 0.0337323 6.64388 0.0356599 6.63906 0.0356599C6.60437 0.0424063 6.56967 0.0510803 6.53594 0.0597543C6.5263 0.0626457 6.51666 0.065537 6.50703 0.0674646C6.48197 0.074211 6.45691 0.0819213 6.43185 0.0905953C6.42125 0.0944504 6.41065 0.0973418 6.40101 0.101197C6.37403 0.110835 6.34704 0.120472 6.32102 0.132038C6.31524 0.134929 6.30849 0.136857 6.30271 0.139748C6.2709 0.153241 6.2391 0.167698 6.20729 0.183118C6.19958 0.186973 6.19187 0.190828 6.18416 0.194684C6.16007 0.207213 6.13694 0.219742 6.11381 0.232271C6.10417 0.23709 6.09549 0.242873 6.08586 0.247691C6.06273 0.261184 6.0396 0.275641 6.01646 0.291062C6.00972 0.294917 6.00297 0.299736 5.99719 0.303591C5.96828 0.322866 5.94033 0.343106 5.91238 0.363345C5.90659 0.3672 5.90177 0.372019 5.89696 0.375874C5.87479 0.393222 5.85262 0.41057 5.83142 0.428882C5.82371 0.435628 5.816 0.442375 5.80829 0.449121C5.78805 0.466469 5.76877 0.484781 5.7495 0.503093C5.74372 0.508876 5.73697 0.514658 5.73119 0.520441C5.72058 0.531043 5.70998 0.541644 5.70035 0.552246C5.70035 0.552246 5.70035 0.551282 5.70131 0.550318L1.45008 4.37942C1.16191 4.66759 1 5.05792 1 5.4656V22.5592C1 23.4073 1.68717 24.0955 2.53626 24.0955H19.6298C20.0375 24.0955 20.4278 23.9335 20.716 23.6454L24.5383 19.2072C24.6077 19.1291 24.6714 19.0453 24.7263 18.9566C24.7282 18.9537 24.7301 18.9498 24.7321 18.9469C24.7427 18.9296 24.7523 18.9123 24.7629 18.8949C24.7668 18.8882 24.7706 18.8814 24.7745 18.8747C24.7831 18.8583 24.7918 18.8429 24.8005 18.8265C24.8053 18.8178 24.8101 18.8091 24.814 18.7995C24.8217 18.7841 24.8284 18.7686 24.8362 18.7532C24.841 18.7426 24.8458 18.733 24.8497 18.7224C24.8564 18.7079 24.8622 18.6925 24.8689 18.6771C24.8737 18.6655 24.8786 18.654 24.8824 18.6424C24.8882 18.6279 24.893 18.6135 24.8988 18.5981C24.9036 18.5855 24.9075 18.573 24.9113 18.5605C24.9162 18.546 24.921 18.5316 24.9248 18.5171C24.9287 18.5036 24.9325 18.4901 24.9364 18.4766C24.9402 18.4631 24.9441 18.4487 24.947 18.4342C24.9508 18.4198 24.9537 18.4053 24.9566 18.3908C24.9595 18.3774 24.9624 18.3639 24.9653 18.3504C24.9682 18.3349 24.9711 18.3195 24.974 18.3041C24.9759 18.2906 24.9788 18.2781 24.9807 18.2646C24.9836 18.2482 24.9855 18.2309 24.9875 18.2145C24.9894 18.2019 24.9904 18.1904 24.9923 18.1779C24.9942 18.1586 24.9952 18.1393 24.9971 18.12C24.9971 18.1094 24.999 18.0998 24.999 18.0892C25.001 18.0593 25.001 18.0294 25.001 17.9996V1.80709C25.001 1.62011 24.972 1.43989 24.92 1.27026H24.9181ZM23.1929 0.541644C23.4107 0.541644 23.616 0.597543 23.7953 0.694885C23.8849 0.744038 23.9678 0.802829 24.043 0.871257C24.0584 0.88475 24.0728 0.899207 24.0873 0.9127C24.1162 0.941613 24.1432 0.97149 24.1692 1.00233C24.1952 1.03317 24.2193 1.06594 24.2425 1.09967C24.3793 1.30207 24.4584 1.54494 24.4584 1.80612V17.9996C24.4584 18.0362 24.4564 18.0718 24.4535 18.1075C24.4535 18.1114 24.4535 18.1162 24.4535 18.12C24.4506 18.1538 24.4458 18.1875 24.44 18.2203C24.44 18.2251 24.4381 18.2299 24.4372 18.2357C24.4304 18.2684 24.4237 18.3012 24.415 18.333C24.414 18.3369 24.4131 18.3407 24.4121 18.3446C24.4025 18.3783 24.3919 18.4111 24.3803 18.4429C24.3803 18.4439 24.3803 18.4448 24.3793 18.4458C24.3408 18.5489 24.2887 18.6443 24.2251 18.733V18.7349C24.203 18.7638 24.1808 18.7927 24.1577 18.8197C24.1432 18.8361 24.1287 18.8525 24.1133 18.8689C24.1133 18.8689 24.1133 18.8689 24.1124 18.8698C24.0979 18.8853 24.0825 18.9007 24.0671 18.9151C24.0671 18.9151 24.0661 18.9161 24.0651 18.9171C24.0497 18.9315 24.0333 18.946 24.0169 18.9604C24.0169 18.9604 24.0169 18.9604 24.016 18.9614C23.9312 19.0337 23.8377 19.0944 23.7355 19.1426C23.7336 19.1436 23.7317 19.1445 23.7288 19.1455C23.7114 19.1532 23.6941 19.1609 23.6758 19.1686C23.6709 19.1705 23.6661 19.1725 23.6613 19.1744C23.6459 19.1802 23.6305 19.186 23.615 19.1917C23.6083 19.1937 23.6025 19.1956 23.5958 19.1985C23.5813 19.2033 23.5669 19.2081 23.5524 19.212C23.5447 19.2139 23.5379 19.2158 23.5302 19.2178C23.5167 19.2216 23.5023 19.2255 23.4888 19.2284C23.4811 19.2303 23.4734 19.2322 23.4657 19.2342C23.4522 19.237 23.4377 19.2399 23.4242 19.2428C23.4165 19.2448 23.4078 19.2457 23.4001 19.2476C23.3857 19.2496 23.3712 19.2515 23.3568 19.2534C23.349 19.2544 23.3413 19.2554 23.3327 19.2563C23.3172 19.2582 23.3009 19.2592 23.2845 19.2602C23.2777 19.2602 23.271 19.2611 23.2642 19.2621C23.2411 19.2631 23.2189 19.264 23.1958 19.264H6.99952C6.65063 19.264 6.33451 19.1224 6.10513 18.893C6.04827 18.8361 5.99622 18.7735 5.95093 18.706C5.8372 18.5373 5.76299 18.3407 5.74082 18.1287C5.73697 18.0863 5.73408 18.0429 5.73408 17.9996V1.80709C5.73408 1.78299 5.73408 1.75986 5.736 1.73673C5.736 1.72902 5.73697 1.72227 5.73793 1.71456C5.7389 1.69818 5.74082 1.68276 5.74179 1.66638C5.74179 1.6577 5.74372 1.64999 5.74468 1.64132C5.74661 1.62686 5.74853 1.61144 5.75143 1.59698C5.75239 1.58831 5.75432 1.5806 5.75624 1.57192C5.75914 1.55747 5.76203 1.54205 5.76588 1.52759C5.76781 1.51988 5.76974 1.51217 5.7707 1.50446C5.77456 1.48808 5.77938 1.47169 5.78419 1.45531C5.78612 1.44952 5.78709 1.44374 5.78901 1.43892C5.80251 1.39459 5.81889 1.35122 5.83624 1.30881C5.83624 1.30881 5.83624 1.30689 5.8372 1.30689C5.84588 1.28665 5.85551 1.26641 5.86515 1.24713C5.86708 1.24424 5.86804 1.24038 5.86997 1.23749C5.87864 1.22015 5.88828 1.2028 5.89792 1.18641C5.89985 1.18256 5.90177 1.17967 5.9037 1.17678C5.91334 1.15943 5.92394 1.14304 5.93454 1.12666C5.93647 1.12377 5.93743 1.12184 5.93936 1.11895C5.95189 1.10064 5.96442 1.08232 5.97695 1.06401C6.04634 0.969563 6.12826 0.883786 6.22079 0.811503C6.30078 0.748857 6.38752 0.695849 6.48101 0.654406C6.48293 0.654406 6.48486 0.652479 6.48679 0.651515C6.51666 0.638022 6.54751 0.626457 6.57835 0.614892C6.58027 0.614892 6.58317 0.612964 6.58509 0.612964C6.64678 0.591761 6.71038 0.575377 6.77496 0.562847C6.77978 0.562847 6.7846 0.56092 6.79038 0.559956C6.82122 0.555137 6.85206 0.551282 6.88386 0.548391C6.88965 0.548391 6.89543 0.548391 6.90025 0.547427C6.93302 0.544536 6.96579 0.543572 6.99855 0.543572H23.192L23.1929 0.541644Z"
fill=
"black"
/>
<path
d=
"M17.2794 11.0016C17.8867 11.0016 18.379 10.5093 18.379 9.90192C18.379 9.29459 17.8867 8.80225 17.2794 8.80225C16.672 8.80225 16.1797 9.29459 16.1797 9.90192C16.1797 10.5093 16.672 11.0016 17.2794 11.0016Z"
fill=
"black"
/>
<path
d=
"M12.9219 11.0016C13.5293 11.0016 14.0216 10.5093 14.0216 9.90192C14.0216 9.29459 13.5293 8.80225 12.9219 8.80225C12.3146 8.80225 11.8223 9.29459 11.8223 9.90192C11.8223 10.5093 12.3146 11.0016 12.9219 11.0016Z"
fill=
"black"
/>
</g>
<path
d=
"M36.4876 17.098C35.5822 17.098 34.7469 16.888 33.9816 16.468C33.2256 16.0387 32.6236 15.446 32.1756 14.69C31.7369 13.9247 31.5176 13.066 31.5176 12.114C31.5176 11.162 31.7369 10.308 32.1756 9.55204C32.6236 8.79604 33.2256 8.20804 33.9816 7.78804C34.7469 7.35871 35.5822 7.14404 36.4876 7.14404C37.4022 7.14404 38.2376 7.35871 38.9936 7.78804C39.7589 8.20804 40.3609 8.79604 40.7996 9.55204C41.2382 10.308 41.4576 11.162 41.4576 12.114C41.4576 13.066 41.2382 13.9247 40.7996 14.69C40.3609 15.446 39.7589 16.0387 38.9936 16.468C38.2376 16.888 37.4022 17.098 36.4876 17.098ZM36.4876 15.712C37.1316 15.712 37.7056 15.5674 38.2096 15.278C38.7136 14.9794 39.1056 14.5594 39.3856 14.018C39.6749 13.4674 39.8196 12.8327 39.8196 12.114C39.8196 11.3954 39.6749 10.7654 39.3856 10.224C39.1056 9.68271 38.7136 9.26738 38.2096 8.97804C37.7056 8.68871 37.1316 8.54404 36.4876 8.54404C35.8436 8.54404 35.2696 8.68871 34.7656 8.97804C34.2616 9.26738 33.8649 9.68271 33.5756 10.224C33.2956 10.7654 33.1556 11.3954 33.1556 12.114C33.1556 12.8327 33.2956 13.4674 33.5756 14.018C33.8649 14.5594 34.2616 14.9794 34.7656 15.278C35.2696 15.5674 35.8436 15.712 36.4876 15.712Z"
fill=
"#1D2939"
/>
<path
d=
"M44.3441 10.42C44.6148 10.0654 44.9834 9.76671 45.4501 9.52404C45.9168 9.28138 46.4441 9.16004 47.0321 9.16004C47.7041 9.16004 48.3154 9.32804 48.8661 9.66404C49.4261 9.99071 49.8648 10.4527 50.1821 11.05C50.4994 11.6474 50.6581 12.3334 50.6581 13.108C50.6581 13.8827 50.4994 14.578 50.1821 15.194C49.8648 15.8007 49.4261 16.2767 48.8661 16.622C48.3154 16.958 47.7041 17.126 47.0321 17.126C46.4441 17.126 45.9214 17.0094 45.4641 16.776C45.0068 16.5334 44.6334 16.2347 44.3441 15.88V20.668H42.7481V9.28604H44.3441V10.42ZM49.0341 13.108C49.0341 12.576 48.9221 12.1187 48.6981 11.736C48.4834 11.344 48.1941 11.05 47.8301 10.854C47.4754 10.6487 47.0928 10.546 46.6821 10.546C46.2808 10.546 45.8981 10.6487 45.5341 10.854C45.1794 11.0594 44.8901 11.358 44.6661 11.75C44.4514 12.142 44.3441 12.604 44.3441 13.136C44.3441 13.668 44.4514 14.1347 44.6661 14.536C44.8901 14.928 45.1794 15.2267 45.5341 15.432C45.8981 15.6374 46.2808 15.74 46.6821 15.74C47.0928 15.74 47.4754 15.6374 47.8301 15.432C48.1941 15.2174 48.4834 14.9094 48.6981 14.508C48.9221 14.1067 49.0341 13.64 49.0341 13.108Z"
fill=
"#1D2939"
/>
<path
d=
"M59.0264 12.954C59.0264 13.2434 59.0077 13.5047 58.9704 13.738H53.0764C53.123 14.354 53.3517 14.8487 53.7624 15.222C54.173 15.5954 54.677 15.782 55.2744 15.782C56.133 15.782 56.7397 15.4227 57.0944 14.704H58.8164C58.583 15.4134 58.1584 15.9967 57.5424 16.454C56.9357 16.902 56.1797 17.126 55.2744 17.126C54.537 17.126 53.8744 16.9627 53.2864 16.636C52.7077 16.3 52.2504 15.8334 51.9144 15.236C51.5877 14.6294 51.4244 13.9294 51.4244 13.136C51.4244 12.3427 51.583 11.6474 51.9004 11.05C52.227 10.4434 52.6797 9.97671 53.2584 9.65004C53.8464 9.32338 54.5184 9.16004 55.2744 9.16004C56.0024 9.16004 56.651 9.31871 57.2204 9.63604C57.7897 9.95338 58.233 10.4014 58.5504 10.98C58.8677 11.5494 59.0264 12.2074 59.0264 12.954ZM57.3604 12.45C57.351 11.862 57.141 11.3907 56.7304 11.036C56.3197 10.6814 55.811 10.504 55.2044 10.504C54.6537 10.504 54.1824 10.6814 53.7904 11.036C53.3984 11.3814 53.165 11.8527 53.0904 12.45H57.3604Z"
fill=
"#1D2939"
/>
<path
d=
"M64.209 9.16004C64.8157 9.16004 65.357 9.28604 65.833 9.53804C66.3183 9.79004 66.6963 10.1634 66.967 10.658C67.2377 11.1527 67.373 11.75 67.373 12.45V17H65.791V12.688C65.791 11.9974 65.6183 11.47 65.273 11.106C64.9277 10.7327 64.4563 10.546 63.859 10.546C63.2617 10.546 62.7857 10.7327 62.431 11.106C62.0857 11.47 61.913 11.9974 61.913 12.688V17H60.317V9.28604H61.913V10.168C62.1743 9.85071 62.5057 9.60338 62.907 9.42604C63.3177 9.24871 63.7517 9.16004 64.209 9.16004Z"
fill=
"#1D2939"
/>
<path
d=
"M70.7248 15.712H74.0148V17H69.1288V7.27004H70.7248V15.712Z"
fill=
"#1D2939"
/>
<path
d=
"M76.6655 15.712H79.9555V17H75.0695V7.27004H76.6655V15.712Z"
fill=
"#1D2939"
/>
<path
d=
"M91.2582 7.27004V17H89.6622V10.336L86.6942 17H85.5882L82.6062 10.336V17H81.0102V7.27004H82.7322L86.1482 14.9L89.5502 7.27004H91.2582Z"
fill=
"#1D2939"
/>
<defs>
<clipPath
id=
"clip0_9850_26886"
>
<rect
width=
"24"
height=
"24.0945"
fill=
"white"
transform=
"translate(1)"
/>
</clipPath>
</defs>
</svg>
web/app/components/base/icons/assets/public/llm/openllm.svg
0 → 100644
View file @
215a27fd
<svg
width=
"24"
height=
"24"
viewBox=
"0 0 24 24"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Camada_2"
clip-path=
"url(#clip0_9866_5923)"
>
<path
id=
"Vector"
d=
"M23.9181 1.27026C23.8737 1.12859 23.813 0.994621 23.7379 0.871257C23.6473 0.721871 23.5355 0.586942 23.4073 0.470325C23.3861 0.451049 23.3639 0.431773 23.3417 0.413462C23.1856 0.284315 23.0073 0.181191 22.8136 0.109871C22.6199 0.0385512 22.4107 0 22.1929 0H5.99952C5.96289 0 5.92627 0.00192756 5.88965 0.00385512C5.87905 0.00385512 5.86748 0.00578268 5.85688 0.00674646C5.83086 0.00867402 5.80387 0.0115654 5.77785 0.0144567C5.76628 0.0154205 5.75568 0.017348 5.74508 0.0183118C5.71424 0.0231307 5.6834 0.0279496 5.65256 0.0337323C5.64774 0.0337323 5.64388 0.0356599 5.63906 0.0356599C5.60437 0.0424063 5.56967 0.0510803 5.53594 0.0597543C5.5263 0.0626457 5.51666 0.065537 5.50703 0.0674646C5.48197 0.074211 5.45691 0.0819213 5.43185 0.0905953C5.42125 0.0944504 5.41065 0.0973418 5.40101 0.101197C5.37403 0.110835 5.34704 0.120472 5.32102 0.132038C5.31524 0.134929 5.30849 0.136857 5.30271 0.139748C5.2709 0.153241 5.2391 0.167698 5.20729 0.183118C5.19958 0.186973 5.19187 0.190828 5.18416 0.194684C5.16007 0.207213 5.13694 0.219742 5.11381 0.232271C5.10417 0.23709 5.09549 0.242873 5.08586 0.247691C5.06273 0.261184 5.0396 0.275641 5.01646 0.291062C5.00972 0.294917 5.00297 0.299736 4.99719 0.303591C4.96828 0.322866 4.94033 0.343106 4.91238 0.363345C4.90659 0.3672 4.90177 0.372019 4.89696 0.375874C4.87479 0.393222 4.85262 0.41057 4.83142 0.428882C4.82371 0.435628 4.816 0.442375 4.80829 0.449121C4.78805 0.466469 4.76877 0.484781 4.7495 0.503093C4.74372 0.508876 4.73697 0.514658 4.73119 0.520441C4.72058 0.531043 4.70998 0.541644 4.70035 0.552246C4.70035 0.552246 4.70035 0.551282 4.70131 0.550318L0.450084 4.37942C0.161915 4.66759 0 5.05792 0 5.4656V22.5592C0 23.4073 0.687174 24.0955 1.53626 24.0955H18.6298C19.0375 24.0955 19.4278 23.9335 19.716 23.6454L23.5383 19.2072C23.6077 19.1291 23.6714 19.0453 23.7263 18.9566C23.7282 18.9537 23.7301 18.9498 23.7321 18.9469C23.7427 18.9296 23.7523 18.9123 23.7629 18.8949C23.7668 18.8882 23.7706 18.8814 23.7745 18.8747C23.7831 18.8583 23.7918 18.8429 23.8005 18.8265C23.8053 18.8178 23.8101 18.8091 23.814 18.7995C23.8217 18.7841 23.8284 18.7686 23.8362 18.7532C23.841 18.7426 23.8458 18.733 23.8497 18.7224C23.8564 18.7079 23.8622 18.6925 23.8689 18.6771C23.8737 18.6655 23.8786 18.654 23.8824 18.6424C23.8882 18.6279 23.893 18.6135 23.8988 18.5981C23.9036 18.5855 23.9075 18.573 23.9113 18.5605C23.9162 18.546 23.921 18.5316 23.9248 18.5171C23.9287 18.5036 23.9325 18.4901 23.9364 18.4766C23.9402 18.4631 23.9441 18.4487 23.947 18.4342C23.9508 18.4198 23.9537 18.4053 23.9566 18.3908C23.9595 18.3774 23.9624 18.3639 23.9653 18.3504C23.9682 18.3349 23.9711 18.3195 23.974 18.3041C23.9759 18.2906 23.9788 18.2781 23.9807 18.2646C23.9836 18.2482 23.9855 18.2309 23.9875 18.2145C23.9894 18.2019 23.9904 18.1904 23.9923 18.1779C23.9942 18.1586 23.9952 18.1393 23.9971 18.12C23.9971 18.1094 23.999 18.0998 23.999 18.0892C24.001 18.0593 24.001 18.0294 24.001 17.9996V1.80709C24.001 1.62011 23.972 1.43989 23.92 1.27026H23.9181ZM22.1929 0.541644C22.4107 0.541644 22.616 0.597543 22.7953 0.694885C22.8849 0.744038 22.9678 0.802829 23.043 0.871257C23.0584 0.88475 23.0728 0.899207 23.0873 0.9127C23.1162 0.941613 23.1432 0.97149 23.1692 1.00233C23.1952 1.03317 23.2193 1.06594 23.2425 1.09967C23.3793 1.30207 23.4584 1.54494 23.4584 1.80612V17.9996C23.4584 18.0362 23.4564 18.0718 23.4535 18.1075C23.4535 18.1114 23.4535 18.1162 23.4535 18.12C23.4506 18.1538 23.4458 18.1875 23.44 18.2203C23.44 18.2251 23.4381 18.2299 23.4372 18.2357C23.4304 18.2684 23.4237 18.3012 23.415 18.333C23.414 18.3369 23.4131 18.3407 23.4121 18.3446C23.4025 18.3783 23.3919 18.4111 23.3803 18.4429C23.3803 18.4439 23.3803 18.4448 23.3793 18.4458C23.3408 18.5489 23.2887 18.6443 23.2251 18.733V18.7349C23.203 18.7638 23.1808 18.7927 23.1577 18.8197C23.1432 18.8361 23.1287 18.8525 23.1133 18.8689C23.1133 18.8689 23.1133 18.8689 23.1124 18.8698C23.0979 18.8853 23.0825 18.9007 23.0671 18.9151C23.0671 18.9151 23.0661 18.9161 23.0651 18.9171C23.0497 18.9315 23.0333 18.946 23.0169 18.9604C23.0169 18.9604 23.0169 18.9604 23.016 18.9614C22.9312 19.0337 22.8377 19.0944 22.7355 19.1426C22.7336 19.1436 22.7317 19.1445 22.7288 19.1455C22.7114 19.1532 22.6941 19.1609 22.6758 19.1686C22.6709 19.1705 22.6661 19.1725 22.6613 19.1744C22.6459 19.1802 22.6305 19.186 22.615 19.1917C22.6083 19.1937 22.6025 19.1956 22.5958 19.1985C22.5813 19.2033 22.5669 19.2081 22.5524 19.212C22.5447 19.2139 22.5379 19.2158 22.5302 19.2178C22.5167 19.2216 22.5023 19.2255 22.4888 19.2284C22.4811 19.2303 22.4734 19.2322 22.4657 19.2342C22.4522 19.237 22.4377 19.2399 22.4242 19.2428C22.4165 19.2448 22.4078 19.2457 22.4001 19.2476C22.3857 19.2496 22.3712 19.2515 22.3568 19.2534C22.349 19.2544 22.3413 19.2554 22.3327 19.2563C22.3172 19.2582 22.3009 19.2592 22.2845 19.2602C22.2777 19.2602 22.271 19.2611 22.2642 19.2621C22.2411 19.2631 22.2189 19.264 22.1958 19.264H5.99952C5.65063 19.264 5.33451 19.1224 5.10513 18.893C5.04827 18.8361 4.99622 18.7735 4.95093 18.706C4.8372 18.5373 4.76299 18.3407 4.74082 18.1287C4.73697 18.0863 4.73408 18.0429 4.73408 17.9996V1.80709C4.73408 1.78299 4.73408 1.75986 4.736 1.73673C4.736 1.72902 4.73697 1.72227 4.73793 1.71456C4.7389 1.69818 4.74082 1.68276 4.74179 1.66638C4.74179 1.6577 4.74372 1.64999 4.74468 1.64132C4.74661 1.62686 4.74853 1.61144 4.75143 1.59698C4.75239 1.58831 4.75432 1.5806 4.75624 1.57192C4.75914 1.55747 4.76203 1.54205 4.76588 1.52759C4.76781 1.51988 4.76974 1.51217 4.7707 1.50446C4.77456 1.48808 4.77938 1.47169 4.78419 1.45531C4.78612 1.44952 4.78709 1.44374 4.78901 1.43892C4.80251 1.39459 4.81889 1.35122 4.83624 1.30881C4.83624 1.30881 4.83624 1.30689 4.8372 1.30689C4.84588 1.28665 4.85551 1.26641 4.86515 1.24713C4.86708 1.24424 4.86804 1.24038 4.86997 1.23749C4.87864 1.22015 4.88828 1.2028 4.89792 1.18641C4.89985 1.18256 4.90177 1.17967 4.9037 1.17678C4.91334 1.15943 4.92394 1.14304 4.93454 1.12666C4.93647 1.12377 4.93743 1.12184 4.93936 1.11895C4.95189 1.10064 4.96442 1.08232 4.97695 1.06401C5.04634 0.969563 5.12826 0.883786 5.22079 0.811503C5.30078 0.748857 5.38752 0.695849 5.48101 0.654406C5.48293 0.654406 5.48486 0.652479 5.48679 0.651515C5.51666 0.638022 5.54751 0.626457 5.57835 0.614892C5.58027 0.614892 5.58317 0.612964 5.58509 0.612964C5.64678 0.591761 5.71038 0.575377 5.77496 0.562847C5.77978 0.562847 5.7846 0.56092 5.79038 0.559956C5.82122 0.555137 5.85206 0.551282 5.88386 0.548391C5.88965 0.548391 5.89543 0.548391 5.90025 0.547427C5.93302 0.544536 5.96579 0.543572 5.99855 0.543572H22.192L22.1929 0.541644Z"
fill=
"black"
/>
<path
id=
"Vector_2"
d=
"M16.2794 11.0016C16.8867 11.0016 17.379 10.5093 17.379 9.90192C17.379 9.29459 16.8867 8.80225 16.2794 8.80225C15.672 8.80225 15.1797 9.29459 15.1797 9.90192C15.1797 10.5093 15.672 11.0016 16.2794 11.0016Z"
fill=
"black"
/>
<path
id=
"Vector_3"
d=
"M11.9219 11.0016C12.5293 11.0016 13.0216 10.5093 13.0216 9.90192C13.0216 9.29459 12.5293 8.80225 11.9219 8.80225C11.3146 8.80225 10.8223 9.29459 10.8223 9.90192C10.8223 10.5093 11.3146 11.0016 11.9219 11.0016Z"
fill=
"black"
/>
</g>
<defs>
<clipPath
id=
"clip0_9866_5923"
>
<rect
width=
"24"
height=
"24.0945"
fill=
"white"
/>
</clipPath>
</defs>
</svg>
web/app/components/base/icons/assets/public/llm/xorbits-inference-text.svg
0 → 100644
View file @
215a27fd
<svg
width=
"152"
height=
"24"
viewBox=
"0 0 152 24"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"xorbits 1"
clip-path=
"url(#clip0_9866_6170)"
>
<path
id=
"Vector"
d=
"M8.00391 12.3124C8.69334 13.0754 9.47526 13.7494 10.3316 14.3188C11.0667 14.8105 11.8509 15.2245 12.6716 15.5541C14.1617 14.1465 15.3959 12.4907 16.3192 10.6606L21.7051 0L12.3133 7.38353C10.5832 8.74456 9.12178 10.416 8.00391 12.3124Z"
fill=
"url(#paint0_linear_9866_6170)"
/>
<path
id=
"Vector_2"
d=
"M7.23504 18.9512C6.56092 18.5012 5.92386 18.0265 5.3221 17.5394L2.06445 24L7.91975 19.3959C7.69034 19.2494 7.46092 19.103 7.23504 18.9512Z"
fill=
"url(#paint1_linear_9866_6170)"
/>
<path
id=
"Vector_3"
d=
"M19.3161 8.57474C21.0808 10.9147 21.5961 13.5159 20.3996 15.3053C18.6526 17.9189 13.9161 17.8183 9.82024 15.0812C5.72435 12.3441 3.82024 8.0065 5.56729 5.39297C6.76377 3.60356 9.36318 3.0865 12.2008 3.81886C7.29318 1.73474 2.62376 1.94121 0.813177 4.64474C-1.45976 8.04709 1.64435 14.1177 7.74494 18.1889C13.8455 22.26 20.6361 22.8124 22.9091 19.4118C24.7179 16.703 23.1173 12.3106 19.3161 8.57474Z"
fill=
"url(#paint2_linear_9866_6170)"
/>
<g
id=
"Xorbits Inference"
>
<path
d=
"M35.5162 12.142L38.5402 17H36.7482L34.5502 13.472L32.4922 17H30.7142L33.7382 12.142L30.7002 7.27002H32.4922L34.7042 10.826L36.7762 7.27002H38.5542L35.5162 12.142Z"
fill=
"#1D2939"
/>
<path
d=
"M43.3584 17.126C42.6304 17.126 41.9724 16.9627 41.3844 16.636C40.7964 16.3 40.3344 15.8334 39.9984 15.236C39.6624 14.6294 39.4944 13.9293 39.4944 13.136C39.4944 12.352 39.6671 11.6567 40.0124 11.05C40.3577 10.4434 40.8291 9.97668 41.4264 9.65002C42.0237 9.32335 42.6911 9.16002 43.4284 9.16002C44.1657 9.16002 44.8331 9.32335 45.4304 9.65002C46.0277 9.97668 46.4991 10.4434 46.8444 11.05C47.1897 11.6567 47.3624 12.352 47.3624 13.136C47.3624 13.92 47.185 14.6154 46.8304 15.222C46.4757 15.8287 45.9904 16.3 45.3744 16.636C44.7677 16.9627 44.0957 17.126 43.3584 17.126ZM43.3584 15.74C43.769 15.74 44.1517 15.642 44.5064 15.446C44.8704 15.25 45.1644 14.956 45.3884 14.564C45.6124 14.172 45.7244 13.696 45.7244 13.136C45.7244 12.576 45.6171 12.1047 45.4024 11.722C45.1877 11.33 44.9031 11.036 44.5484 10.84C44.1937 10.644 43.8111 10.546 43.4004 10.546C42.9897 10.546 42.607 10.644 42.2524 10.84C41.9071 11.036 41.6317 11.33 41.4264 11.722C41.221 12.1047 41.1184 12.576 41.1184 13.136C41.1184 13.9667 41.3284 14.6107 41.7484 15.068C42.1777 15.516 42.7144 15.74 43.3584 15.74Z"
fill=
"#1D2939"
/>
<path
d=
"M50.2561 10.406C50.4895 10.014 50.7974 9.71068 51.1801 9.49602C51.5721 9.27202 52.0341 9.16002 52.5661 9.16002V10.812H52.1601C51.5348 10.812 51.0588 10.9707 50.7321 11.288C50.4148 11.6054 50.2561 12.156 50.2561 12.94V17H48.6601V9.28602H50.2561V10.406Z"
fill=
"#1D2939"
/>
<path
d=
"M55.3492 10.434C55.6198 10.0607 55.9885 9.75735 56.4552 9.52402C56.9312 9.28135 57.4585 9.16002 58.0372 9.16002C58.7185 9.16002 59.3345 9.32335 59.8852 9.65002C60.4358 9.97668 60.8698 10.4434 61.1872 11.05C61.5045 11.6473 61.6632 12.3333 61.6632 13.108C61.6632 13.8827 61.5045 14.578 61.1872 15.194C60.8698 15.8007 60.4312 16.2767 59.8712 16.622C59.3205 16.958 58.7092 17.126 58.0372 17.126C57.4398 17.126 56.9078 17.0093 56.4412 16.776C55.9838 16.5427 55.6198 16.244 55.3492 15.88V17H53.7532V6.64002H55.3492V10.434ZM60.0392 13.108C60.0392 12.576 59.9272 12.1187 59.7032 11.736C59.4885 11.344 59.1992 11.05 58.8352 10.854C58.4805 10.6487 58.0978 10.546 57.6872 10.546C57.2858 10.546 56.9032 10.6487 56.5392 10.854C56.1845 11.0594 55.8952 11.358 55.6712 11.75C55.4565 12.142 55.3492 12.604 55.3492 13.136C55.3492 13.668 55.4565 14.1347 55.6712 14.536C55.8952 14.928 56.1845 15.2267 56.5392 15.432C56.9032 15.6374 57.2858 15.74 57.6872 15.74C58.0978 15.74 58.4805 15.6374 58.8352 15.432C59.1992 15.2174 59.4885 14.9093 59.7032 14.508C59.9272 14.1067 60.0392 13.64 60.0392 13.108Z"
fill=
"#1D2939"
/>
<path
d=
"M63.7734 8.26402C63.4841 8.26402 63.2414 8.16602 63.0454 7.97002C62.8494 7.77402 62.7514 7.53135 62.7514 7.24202C62.7514 6.95268 62.8494 6.71002 63.0454 6.51402C63.2414 6.31802 63.4841 6.22002 63.7734 6.22002C64.0534 6.22002 64.2914 6.31802 64.4874 6.51402C64.6834 6.71002 64.7814 6.95268 64.7814 7.24202C64.7814 7.53135 64.6834 7.77402 64.4874 7.97002C64.2914 8.16602 64.0534 8.26402 63.7734 8.26402ZM64.5574 9.28602V17H62.9614V9.28602H64.5574Z"
fill=
"#1D2939"
/>
<path
d=
"M68.2348 10.588V14.858C68.2348 15.1474 68.3002 15.3573 68.4309 15.488C68.5709 15.6093 68.8042 15.67 69.1308 15.67H70.1109V17H68.8508C68.1322 17 67.5815 16.832 67.1988 16.496C66.8162 16.16 66.6248 15.614 66.6248 14.858V10.588H65.7148V9.28602H66.6248V7.36802H68.2348V9.28602H70.1109V10.588H68.2348Z"
fill=
"#1D2939"
/>
<path
d=
"M74.1018 17.126C73.4952 17.126 72.9492 17.0187 72.4638 16.804C71.9878 16.58 71.6098 16.2813 71.3298 15.908C71.0498 15.5253 70.9005 15.1007 70.8818 14.634H72.5338C72.5618 14.9607 72.7158 15.236 72.9958 15.46C73.2852 15.6747 73.6445 15.782 74.0738 15.782C74.5218 15.782 74.8672 15.698 75.1098 15.53C75.3618 15.3527 75.4878 15.1287 75.4878 14.858C75.4878 14.5687 75.3478 14.354 75.0678 14.214C74.7972 14.074 74.3632 13.92 73.7658 13.752C73.1872 13.5933 72.7158 13.4394 72.3518 13.29C71.9878 13.1407 71.6705 12.912 71.3998 12.604C71.1385 12.296 71.0078 11.89 71.0078 11.386C71.0078 10.9753 71.1292 10.602 71.3718 10.266C71.6145 9.92068 71.9598 9.65002 72.4078 9.45402C72.8652 9.25802 73.3878 9.16002 73.9758 9.16002C74.8532 9.16002 75.5578 9.38402 76.0898 9.83202C76.6312 10.2707 76.9205 10.8727 76.9578 11.638H75.3618C75.3338 11.2927 75.1938 11.0173 74.9418 10.812C74.6898 10.6067 74.3492 10.504 73.9198 10.504C73.4998 10.504 73.1778 10.5833 72.9538 10.742C72.7298 10.9007 72.6178 11.1107 72.6178 11.372C72.6178 11.5773 72.6925 11.75 72.8418 11.89C72.9912 12.03 73.1732 12.142 73.3878 12.226C73.6025 12.3007 73.9198 12.3987 74.3398 12.52C74.8998 12.6693 75.3572 12.8233 75.7118 12.982C76.0758 13.1314 76.3885 13.3554 76.6498 13.654C76.9112 13.9527 77.0465 14.3493 77.0558 14.844C77.0558 15.2827 76.9345 15.6747 76.6918 16.02C76.4492 16.3654 76.1038 16.636 75.6558 16.832C75.2172 17.028 74.6992 17.126 74.1018 17.126Z"
fill=
"#1D2939"
/>
<path
d=
"M83.4531 7.27002V17H81.8571V7.27002H83.4531Z"
fill=
"#1D2939"
/>
<path
d=
"M89.1605 9.16002C89.7671 9.16002 90.3085 9.28602 90.7845 9.53802C91.2698 9.79002 91.6478 10.1633 91.9185 10.658C92.1891 11.1527 92.3245 11.75 92.3245 12.45V17H90.7425V12.688C90.7425 11.9973 90.5698 11.47 90.2245 11.106C89.8791 10.7327 89.4078 10.546 88.8105 10.546C88.2131 10.546 87.7371 10.7327 87.3825 11.106C87.0371 11.47 86.8645 11.9973 86.8645 12.688V17H85.2685V9.28602H86.8645V10.168C87.1258 9.85068 87.4571 9.60335 87.8585 9.42602C88.2691 9.24868 88.7031 9.16002 89.1605 9.16002Z"
fill=
"#1D2939"
/>
<path
d=
"M97.3143 10.588H95.8863V17H94.2763V10.588H93.3663V9.28602H94.2763V8.74002C94.2763 7.85335 94.5096 7.20935 94.9763 6.80802C95.4523 6.39735 96.1943 6.19202 97.2023 6.19202V7.52202C96.7169 7.52202 96.3763 7.61535 96.1803 7.80202C95.9843 7.97935 95.8863 8.29202 95.8863 8.74002V9.28602H97.3143V10.588Z"
fill=
"#1D2939"
/>
<path
d=
"M105.519 12.954C105.519 13.2433 105.5 13.5047 105.463 13.738H99.5687C99.6154 14.354 99.844 14.8487 100.255 15.222C100.665 15.5954 101.169 15.782 101.767 15.782C102.625 15.782 103.232 15.4227 103.587 14.704H105.309C105.075 15.4133 104.651 15.9967 104.035 16.454C103.428 16.902 102.672 17.126 101.767 17.126C101.029 17.126 100.367 16.9627 99.7787 16.636C99.2 16.3 98.7427 15.8334 98.4067 15.236C98.08 14.6294 97.9167 13.9293 97.9167 13.136C97.9167 12.3427 98.0754 11.6473 98.3927 11.05C98.7194 10.4434 99.172 9.97668 99.7507 9.65002C100.339 9.32335 101.011 9.16002 101.767 9.16002C102.495 9.16002 103.143 9.31868 103.713 9.63602C104.282 9.95335 104.725 10.4014 105.043 10.98C105.36 11.5493 105.519 12.2073 105.519 12.954ZM103.853 12.45C103.843 11.862 103.633 11.3907 103.223 11.036C102.812 10.6813 102.303 10.504 101.697 10.504C101.146 10.504 100.675 10.6813 100.283 11.036C99.8907 11.3813 99.6574 11.8527 99.5827 12.45H103.853Z"
fill=
"#1D2939"
/>
<path
d=
"M108.405 10.406C108.639 10.014 108.947 9.71068 109.329 9.49602C109.721 9.27202 110.183 9.16002 110.715 9.16002V10.812H110.309C109.684 10.812 109.208 10.9707 108.881 11.288C108.564 11.6054 108.405 12.156 108.405 12.94V17H106.809V9.28602H108.405V10.406Z"
fill=
"#1D2939"
/>
<path
d=
"M118.972 12.954C118.972 13.2433 118.954 13.5047 118.916 13.738H113.022C113.069 14.354 113.298 14.8487 113.708 15.222C114.119 15.5954 114.623 15.782 115.22 15.782C116.079 15.782 116.686 15.4227 117.04 14.704H118.762C118.529 15.4133 118.104 15.9967 117.488 16.454C116.882 16.902 116.126 17.126 115.22 17.126C114.483 17.126 113.82 16.9627 113.232 16.636C112.654 16.3 112.196 15.8334 111.86 15.236C111.534 14.6294 111.37 13.9293 111.37 13.136C111.37 12.3427 111.529 11.6473 111.846 11.05C112.173 10.4434 112.626 9.97668 113.204 9.65002C113.792 9.32335 114.464 9.16002 115.22 9.16002C115.948 9.16002 116.597 9.31868 117.166 9.63602C117.736 9.95335 118.179 10.4014 118.496 10.98C118.814 11.5493 118.972 12.2073 118.972 12.954ZM117.306 12.45C117.297 11.862 117.087 11.3907 116.676 11.036C116.266 10.6813 115.757 10.504 115.15 10.504C114.6 10.504 114.128 10.6813 113.736 11.036C113.344 11.3813 113.111 11.8527 113.036 12.45H117.306Z"
fill=
"#1D2939"
/>
<path
d=
"M124.155 9.16002C124.762 9.16002 125.303 9.28602 125.779 9.53802C126.264 9.79002 126.642 10.1633 126.913 10.658C127.184 11.1527 127.319 11.75 127.319 12.45V17H125.737V12.688C125.737 11.9973 125.564 11.47 125.219 11.106C124.874 10.7327 124.402 10.546 123.805 10.546C123.208 10.546 122.732 10.7327 122.377 11.106C122.032 11.47 121.859 11.9973 121.859 12.688V17H120.263V9.28602H121.859V10.168C122.12 9.85068 122.452 9.60335 122.853 9.42602C123.264 9.24868 123.698 9.16002 124.155 9.16002Z"
fill=
"#1D2939"
/>
<path
d=
"M128.543 13.136C128.543 12.3427 128.701 11.6473 129.019 11.05C129.345 10.4434 129.793 9.97668 130.363 9.65002C130.932 9.32335 131.585 9.16002 132.323 9.16002C133.256 9.16002 134.026 9.38402 134.633 9.83202C135.249 10.2707 135.664 10.9007 135.879 11.722H134.157C134.017 11.3394 133.793 11.0407 133.485 10.826C133.177 10.6113 132.789 10.504 132.323 10.504C131.669 10.504 131.147 10.7373 130.755 11.204C130.372 11.6613 130.181 12.3053 130.181 13.136C130.181 13.9667 130.372 14.6153 130.755 15.082C131.147 15.5487 131.669 15.782 132.323 15.782C133.247 15.782 133.858 15.376 134.157 14.564H135.879C135.655 15.348 135.235 15.9733 134.619 16.44C134.003 16.8973 133.237 17.126 132.323 17.126C131.585 17.126 130.932 16.9627 130.363 16.636C129.793 16.3 129.345 15.8334 129.019 15.236C128.701 14.6294 128.543 13.9293 128.543 13.136Z"
fill=
"#1D2939"
/>
<path
d=
"M144.259 12.954C144.259 13.2433 144.241 13.5047 144.203 13.738H138.309C138.356 14.354 138.585 14.8487 138.995 15.222C139.406 15.5954 139.91 15.782 140.507 15.782C141.366 15.782 141.973 15.4227 142.327 14.704H144.049C143.816 15.4133 143.391 15.9967 142.775 16.454C142.169 16.902 141.413 17.126 140.507 17.126C139.77 17.126 139.107 16.9627 138.519 16.636C137.941 16.3 137.483 15.8334 137.147 15.236C136.821 14.6294 136.657 13.9293 136.657 13.136C136.657 12.3427 136.816 11.6473 137.133 11.05C137.46 10.4434 137.913 9.97668 138.491 9.65002C139.079 9.32335 139.751 9.16002 140.507 9.16002C141.235 9.16002 141.884 9.31868 142.453 9.63602C143.023 9.95335 143.466 10.4014 143.783 10.98C144.101 11.5493 144.259 12.2073 144.259 12.954ZM142.593 12.45C142.584 11.862 142.374 11.3907 141.963 11.036C141.553 10.6813 141.044 10.504 140.437 10.504C139.887 10.504 139.415 10.6813 139.023 11.036C138.631 11.3813 138.398 11.8527 138.323 12.45H142.593Z"
fill=
"#1D2939"
/>
</g>
</g>
<defs>
<linearGradient
id=
"paint0_linear_9866_6170"
x1=
"2.15214"
y1=
"24.3018"
x2=
"21.2921"
y2=
"0.0988218"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#E9A85E"
/>
<stop
offset=
"1"
stop-color=
"#F52B76"
/>
</linearGradient>
<linearGradient
id=
"paint1_linear_9866_6170"
x1=
"2.06269"
y1=
"24.2294"
x2=
"21.2027"
y2=
"0.028252"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#E9A85E"
/>
<stop
offset=
"1"
stop-color=
"#F52B76"
/>
</linearGradient>
<linearGradient
id=
"paint2_linear_9866_6170"
x1=
"-0.613606"
y1=
"3.843"
x2=
"21.4449"
y2=
"18.7258"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#6A0CF5"
/>
<stop
offset=
"1"
stop-color=
"#AB66F3"
/>
</linearGradient>
<clipPath
id=
"clip0_9866_6170"
>
<rect
width=
"152"
height=
"24"
fill=
"white"
/>
</clipPath>
</defs>
</svg>
web/app/components/base/icons/assets/public/llm/xorbits-inference.svg
0 → 100644
View file @
215a27fd
<svg
width=
"24"
height=
"24"
viewBox=
"0 0 24 24"
fill=
"none"
xmlns=
"http://www.w3.org/2000/svg"
>
<g
id=
"Xorbits Square"
clip-path=
"url(#clip0_9850_26870)"
>
<path
id=
"Vector"
d=
"M8.00391 12.3124C8.69334 13.0754 9.47526 13.7494 10.3316 14.3188C11.0667 14.8105 11.8509 15.2245 12.6716 15.5541C14.1617 14.1465 15.3959 12.4907 16.3192 10.6606L21.7051 0L12.3133 7.38353C10.5832 8.74456 9.12178 10.416 8.00391 12.3124Z"
fill=
"url(#paint0_linear_9850_26870)"
/>
<path
id=
"Vector_2"
d=
"M7.23504 18.9512C6.56092 18.5012 5.92386 18.0265 5.3221 17.5394L2.06445 24L7.91975 19.3959C7.69034 19.2494 7.46092 19.103 7.23504 18.9512Z"
fill=
"url(#paint1_linear_9850_26870)"
/>
<path
id=
"Vector_3"
d=
"M19.3161 8.57474C21.0808 10.9147 21.5961 13.5159 20.3996 15.3053C18.6526 17.9189 13.9161 17.8183 9.82024 15.0812C5.72435 12.3441 3.82024 8.0065 5.56729 5.39297C6.76377 3.60356 9.36318 3.0865 12.2008 3.81886C7.29318 1.73474 2.62376 1.94121 0.813177 4.64474C-1.45976 8.04709 1.64435 14.1177 7.74494 18.1889C13.8455 22.26 20.6361 22.8124 22.9091 19.4118C24.7179 16.703 23.1173 12.3106 19.3161 8.57474Z"
fill=
"url(#paint2_linear_9850_26870)"
/>
</g>
<defs>
<linearGradient
id=
"paint0_linear_9850_26870"
x1=
"2.15214"
y1=
"24.3018"
x2=
"21.2921"
y2=
"0.0988218"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#E9A85E"
/>
<stop
offset=
"1"
stop-color=
"#F52B76"
/>
</linearGradient>
<linearGradient
id=
"paint1_linear_9850_26870"
x1=
"2.06269"
y1=
"24.2294"
x2=
"21.2027"
y2=
"0.028252"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#E9A85E"
/>
<stop
offset=
"1"
stop-color=
"#F52B76"
/>
</linearGradient>
<linearGradient
id=
"paint2_linear_9850_26870"
x1=
"-0.613606"
y1=
"3.843"
x2=
"21.4449"
y2=
"18.7258"
gradientUnits=
"userSpaceOnUse"
>
<stop
stop-color=
"#6A0CF5"
/>
<stop
offset=
"1"
stop-color=
"#AB66F3"
/>
</linearGradient>
<clipPath
id=
"clip0_9850_26870"
>
<rect
width=
"24"
height=
"24"
fill=
"white"
/>
</clipPath>
</defs>
</svg>
web/app/components/base/icons/src/public/llm/Openllm.json
0 → 100644
View file @
215a27fd
{
"icon"
:
{
"type"
:
"element"
,
"isRootNode"
:
true
,
"name"
:
"svg"
,
"attributes"
:
{
"width"
:
"24"
,
"height"
:
"24"
,
"viewBox"
:
"0 0 24 24"
,
"fill"
:
"none"
,
"xmlns"
:
"http://www.w3.org/2000/svg"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"g"
,
"attributes"
:
{
"id"
:
"Camada_2"
,
"clip-path"
:
"url(#clip0_9866_5923)"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"Vector"
,
"d"
:
"M23.9181 1.27026C23.8737 1.12859 23.813 0.994621 23.7379 0.871257C23.6473 0.721871 23.5355 0.586942 23.4073 0.470325C23.3861 0.451049 23.3639 0.431773 23.3417 0.413462C23.1856 0.284315 23.0073 0.181191 22.8136 0.109871C22.6199 0.0385512 22.4107 0 22.1929 0H5.99952C5.96289 0 5.92627 0.00192756 5.88965 0.00385512C5.87905 0.00385512 5.86748 0.00578268 5.85688 0.00674646C5.83086 0.00867402 5.80387 0.0115654 5.77785 0.0144567C5.76628 0.0154205 5.75568 0.017348 5.74508 0.0183118C5.71424 0.0231307 5.6834 0.0279496 5.65256 0.0337323C5.64774 0.0337323 5.64388 0.0356599 5.63906 0.0356599C5.60437 0.0424063 5.56967 0.0510803 5.53594 0.0597543C5.5263 0.0626457 5.51666 0.065537 5.50703 0.0674646C5.48197 0.074211 5.45691 0.0819213 5.43185 0.0905953C5.42125 0.0944504 5.41065 0.0973418 5.40101 0.101197C5.37403 0.110835 5.34704 0.120472 5.32102 0.132038C5.31524 0.134929 5.30849 0.136857 5.30271 0.139748C5.2709 0.153241 5.2391 0.167698 5.20729 0.183118C5.19958 0.186973 5.19187 0.190828 5.18416 0.194684C5.16007 0.207213 5.13694 0.219742 5.11381 0.232271C5.10417 0.23709 5.09549 0.242873 5.08586 0.247691C5.06273 0.261184 5.0396 0.275641 5.01646 0.291062C5.00972 0.294917 5.00297 0.299736 4.99719 0.303591C4.96828 0.322866 4.94033 0.343106 4.91238 0.363345C4.90659 0.3672 4.90177 0.372019 4.89696 0.375874C4.87479 0.393222 4.85262 0.41057 4.83142 0.428882C4.82371 0.435628 4.816 0.442375 4.80829 0.449121C4.78805 0.466469 4.76877 0.484781 4.7495 0.503093C4.74372 0.508876 4.73697 0.514658 4.73119 0.520441C4.72058 0.531043 4.70998 0.541644 4.70035 0.552246C4.70035 0.552246 4.70035 0.551282 4.70131 0.550318L0.450084 4.37942C0.161915 4.66759 0 5.05792 0 5.4656V22.5592C0 23.4073 0.687174 24.0955 1.53626 24.0955H18.6298C19.0375 24.0955 19.4278 23.9335 19.716 23.6454L23.5383 19.2072C23.6077 19.1291 23.6714 19.0453 23.7263 18.9566C23.7282 18.9537 23.7301 18.9498 23.7321 18.9469C23.7427 18.9296 23.7523 18.9123 23.7629 18.8949C23.7668 18.8882 23.7706 18.8814 23.7745 18.8747C23.7831 18.8583 23.7918 18.8429 23.8005 18.8265C23.8053 18.8178 23.8101 18.8091 23.814 18.7995C23.8217 18.7841 23.8284 18.7686 23.8362 18.7532C23.841 18.7426 23.8458 18.733 23.8497 18.7224C23.8564 18.7079 23.8622 18.6925 23.8689 18.6771C23.8737 18.6655 23.8786 18.654 23.8824 18.6424C23.8882 18.6279 23.893 18.6135 23.8988 18.5981C23.9036 18.5855 23.9075 18.573 23.9113 18.5605C23.9162 18.546 23.921 18.5316 23.9248 18.5171C23.9287 18.5036 23.9325 18.4901 23.9364 18.4766C23.9402 18.4631 23.9441 18.4487 23.947 18.4342C23.9508 18.4198 23.9537 18.4053 23.9566 18.3908C23.9595 18.3774 23.9624 18.3639 23.9653 18.3504C23.9682 18.3349 23.9711 18.3195 23.974 18.3041C23.9759 18.2906 23.9788 18.2781 23.9807 18.2646C23.9836 18.2482 23.9855 18.2309 23.9875 18.2145C23.9894 18.2019 23.9904 18.1904 23.9923 18.1779C23.9942 18.1586 23.9952 18.1393 23.9971 18.12C23.9971 18.1094 23.999 18.0998 23.999 18.0892C24.001 18.0593 24.001 18.0294 24.001 17.9996V1.80709C24.001 1.62011 23.972 1.43989 23.92 1.27026H23.9181ZM22.1929 0.541644C22.4107 0.541644 22.616 0.597543 22.7953 0.694885C22.8849 0.744038 22.9678 0.802829 23.043 0.871257C23.0584 0.88475 23.0728 0.899207 23.0873 0.9127C23.1162 0.941613 23.1432 0.97149 23.1692 1.00233C23.1952 1.03317 23.2193 1.06594 23.2425 1.09967C23.3793 1.30207 23.4584 1.54494 23.4584 1.80612V17.9996C23.4584 18.0362 23.4564 18.0718 23.4535 18.1075C23.4535 18.1114 23.4535 18.1162 23.4535 18.12C23.4506 18.1538 23.4458 18.1875 23.44 18.2203C23.44 18.2251 23.4381 18.2299 23.4372 18.2357C23.4304 18.2684 23.4237 18.3012 23.415 18.333C23.414 18.3369 23.4131 18.3407 23.4121 18.3446C23.4025 18.3783 23.3919 18.4111 23.3803 18.4429C23.3803 18.4439 23.3803 18.4448 23.3793 18.4458C23.3408 18.5489 23.2887 18.6443 23.2251 18.733V18.7349C23.203 18.7638 23.1808 18.7927 23.1577 18.8197C23.1432 18.8361 23.1287 18.8525 23.1133 18.8689C23.1133 18.8689 23.1133 18.8689 23.1124 18.8698C23.0979 18.8853 23.0825 18.9007 23.0671 18.9151C23.0671 18.9151 23.0661 18.9161 23.0651 18.9171C23.0497 18.9315 23.0333 18.946 23.0169 18.9604C23.0169 18.9604 23.0169 18.9604 23.016 18.9614C22.9312 19.0337 22.8377 19.0944 22.7355 19.1426C22.7336 19.1436 22.7317 19.1445 22.7288 19.1455C22.7114 19.1532 22.6941 19.1609 22.6758 19.1686C22.6709 19.1705 22.6661 19.1725 22.6613 19.1744C22.6459 19.1802 22.6305 19.186 22.615 19.1917C22.6083 19.1937 22.6025 19.1956 22.5958 19.1985C22.5813 19.2033 22.5669 19.2081 22.5524 19.212C22.5447 19.2139 22.5379 19.2158 22.5302 19.2178C22.5167 19.2216 22.5023 19.2255 22.4888 19.2284C22.4811 19.2303 22.4734 19.2322 22.4657 19.2342C22.4522 19.237 22.4377 19.2399 22.4242 19.2428C22.4165 19.2448 22.4078 19.2457 22.4001 19.2476C22.3857 19.2496 22.3712 19.2515 22.3568 19.2534C22.349 19.2544 22.3413 19.2554 22.3327 19.2563C22.3172 19.2582 22.3009 19.2592 22.2845 19.2602C22.2777 19.2602 22.271 19.2611 22.2642 19.2621C22.2411 19.2631 22.2189 19.264 22.1958 19.264H5.99952C5.65063 19.264 5.33451 19.1224 5.10513 18.893C5.04827 18.8361 4.99622 18.7735 4.95093 18.706C4.8372 18.5373 4.76299 18.3407 4.74082 18.1287C4.73697 18.0863 4.73408 18.0429 4.73408 17.9996V1.80709C4.73408 1.78299 4.73408 1.75986 4.736 1.73673C4.736 1.72902 4.73697 1.72227 4.73793 1.71456C4.7389 1.69818 4.74082 1.68276 4.74179 1.66638C4.74179 1.6577 4.74372 1.64999 4.74468 1.64132C4.74661 1.62686 4.74853 1.61144 4.75143 1.59698C4.75239 1.58831 4.75432 1.5806 4.75624 1.57192C4.75914 1.55747 4.76203 1.54205 4.76588 1.52759C4.76781 1.51988 4.76974 1.51217 4.7707 1.50446C4.77456 1.48808 4.77938 1.47169 4.78419 1.45531C4.78612 1.44952 4.78709 1.44374 4.78901 1.43892C4.80251 1.39459 4.81889 1.35122 4.83624 1.30881C4.83624 1.30881 4.83624 1.30689 4.8372 1.30689C4.84588 1.28665 4.85551 1.26641 4.86515 1.24713C4.86708 1.24424 4.86804 1.24038 4.86997 1.23749C4.87864 1.22015 4.88828 1.2028 4.89792 1.18641C4.89985 1.18256 4.90177 1.17967 4.9037 1.17678C4.91334 1.15943 4.92394 1.14304 4.93454 1.12666C4.93647 1.12377 4.93743 1.12184 4.93936 1.11895C4.95189 1.10064 4.96442 1.08232 4.97695 1.06401C5.04634 0.969563 5.12826 0.883786 5.22079 0.811503C5.30078 0.748857 5.38752 0.695849 5.48101 0.654406C5.48293 0.654406 5.48486 0.652479 5.48679 0.651515C5.51666 0.638022 5.54751 0.626457 5.57835 0.614892C5.58027 0.614892 5.58317 0.612964 5.58509 0.612964C5.64678 0.591761 5.71038 0.575377 5.77496 0.562847C5.77978 0.562847 5.7846 0.56092 5.79038 0.559956C5.82122 0.555137 5.85206 0.551282 5.88386 0.548391C5.88965 0.548391 5.89543 0.548391 5.90025 0.547427C5.93302 0.544536 5.96579 0.543572 5.99855 0.543572H22.192L22.1929 0.541644Z"
,
"fill"
:
"black"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"Vector_2"
,
"d"
:
"M16.2794 11.0016C16.8867 11.0016 17.379 10.5093 17.379 9.90192C17.379 9.29459 16.8867 8.80225 16.2794 8.80225C15.672 8.80225 15.1797 9.29459 15.1797 9.90192C15.1797 10.5093 15.672 11.0016 16.2794 11.0016Z"
,
"fill"
:
"black"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"Vector_3"
,
"d"
:
"M11.9219 11.0016C12.5293 11.0016 13.0216 10.5093 13.0216 9.90192C13.0216 9.29459 12.5293 8.80225 11.9219 8.80225C11.3146 8.80225 10.8223 9.29459 10.8223 9.90192C10.8223 10.5093 11.3146 11.0016 11.9219 11.0016Z"
,
"fill"
:
"black"
},
"children"
:
[]
}
]
},
{
"type"
:
"element"
,
"name"
:
"defs"
,
"attributes"
:
{},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"clipPath"
,
"attributes"
:
{
"id"
:
"clip0_9866_5923"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"rect"
,
"attributes"
:
{
"width"
:
"24"
,
"height"
:
"24.0945"
,
"fill"
:
"white"
},
"children"
:
[]
}
]
}
]
}
]
},
"name"
:
"Openllm"
}
\ No newline at end of file
web/app/components/base/icons/src/public/llm/Openllm.tsx
0 → 100644
View file @
215a27fd
// GENERATE BY script
// DON NOT EDIT IT MANUALLY
import
*
as
React
from
'react'
import
data
from
'./Openllm.json'
import
IconBase
from
'@/app/components/base/icons/IconBase'
import
type
{
IconBaseProps
,
IconData
}
from
'@/app/components/base/icons/IconBase'
const
Icon
=
React
.
forwardRef
<
React
.
MutableRefObject
<
SVGElement
>
,
Omit
<
IconBaseProps
,
'data'
>>
((
props
,
ref
,
)
=>
<
IconBase
{
...
props
}
ref=
{
ref
}
data=
{
data
as
IconData
}
/>)
export
default
Icon
web/app/components/base/icons/src/public/llm/OpenllmText.json
0 → 100644
View file @
215a27fd
{
"icon"
:
{
"type"
:
"element"
,
"isRootNode"
:
true
,
"name"
:
"svg"
,
"attributes"
:
{
"width"
:
"92"
,
"height"
:
"25"
,
"viewBox"
:
"0 0 92 25"
,
"fill"
:
"none"
,
"xmlns"
:
"http://www.w3.org/2000/svg"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"g"
,
"attributes"
:
{
"clip-path"
:
"url(#clip0_9850_26886)"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M24.9181 1.27026C24.8737 1.12859 24.813 0.994621 24.7379 0.871257C24.6473 0.721871 24.5355 0.586942 24.4073 0.470325C24.3861 0.451049 24.3639 0.431773 24.3417 0.413462C24.1856 0.284315 24.0073 0.181191 23.8136 0.109871C23.6199 0.0385512 23.4107 0 23.1929 0H6.99952C6.96289 0 6.92627 0.00192756 6.88965 0.00385512C6.87905 0.00385512 6.86748 0.00578268 6.85688 0.00674646C6.83086 0.00867402 6.80387 0.0115654 6.77785 0.0144567C6.76628 0.0154205 6.75568 0.017348 6.74508 0.0183118C6.71424 0.0231307 6.6834 0.0279496 6.65256 0.0337323C6.64774 0.0337323 6.64388 0.0356599 6.63906 0.0356599C6.60437 0.0424063 6.56967 0.0510803 6.53594 0.0597543C6.5263 0.0626457 6.51666 0.065537 6.50703 0.0674646C6.48197 0.074211 6.45691 0.0819213 6.43185 0.0905953C6.42125 0.0944504 6.41065 0.0973418 6.40101 0.101197C6.37403 0.110835 6.34704 0.120472 6.32102 0.132038C6.31524 0.134929 6.30849 0.136857 6.30271 0.139748C6.2709 0.153241 6.2391 0.167698 6.20729 0.183118C6.19958 0.186973 6.19187 0.190828 6.18416 0.194684C6.16007 0.207213 6.13694 0.219742 6.11381 0.232271C6.10417 0.23709 6.09549 0.242873 6.08586 0.247691C6.06273 0.261184 6.0396 0.275641 6.01646 0.291062C6.00972 0.294917 6.00297 0.299736 5.99719 0.303591C5.96828 0.322866 5.94033 0.343106 5.91238 0.363345C5.90659 0.3672 5.90177 0.372019 5.89696 0.375874C5.87479 0.393222 5.85262 0.41057 5.83142 0.428882C5.82371 0.435628 5.816 0.442375 5.80829 0.449121C5.78805 0.466469 5.76877 0.484781 5.7495 0.503093C5.74372 0.508876 5.73697 0.514658 5.73119 0.520441C5.72058 0.531043 5.70998 0.541644 5.70035 0.552246C5.70035 0.552246 5.70035 0.551282 5.70131 0.550318L1.45008 4.37942C1.16191 4.66759 1 5.05792 1 5.4656V22.5592C1 23.4073 1.68717 24.0955 2.53626 24.0955H19.6298C20.0375 24.0955 20.4278 23.9335 20.716 23.6454L24.5383 19.2072C24.6077 19.1291 24.6714 19.0453 24.7263 18.9566C24.7282 18.9537 24.7301 18.9498 24.7321 18.9469C24.7427 18.9296 24.7523 18.9123 24.7629 18.8949C24.7668 18.8882 24.7706 18.8814 24.7745 18.8747C24.7831 18.8583 24.7918 18.8429 24.8005 18.8265C24.8053 18.8178 24.8101 18.8091 24.814 18.7995C24.8217 18.7841 24.8284 18.7686 24.8362 18.7532C24.841 18.7426 24.8458 18.733 24.8497 18.7224C24.8564 18.7079 24.8622 18.6925 24.8689 18.6771C24.8737 18.6655 24.8786 18.654 24.8824 18.6424C24.8882 18.6279 24.893 18.6135 24.8988 18.5981C24.9036 18.5855 24.9075 18.573 24.9113 18.5605C24.9162 18.546 24.921 18.5316 24.9248 18.5171C24.9287 18.5036 24.9325 18.4901 24.9364 18.4766C24.9402 18.4631 24.9441 18.4487 24.947 18.4342C24.9508 18.4198 24.9537 18.4053 24.9566 18.3908C24.9595 18.3774 24.9624 18.3639 24.9653 18.3504C24.9682 18.3349 24.9711 18.3195 24.974 18.3041C24.9759 18.2906 24.9788 18.2781 24.9807 18.2646C24.9836 18.2482 24.9855 18.2309 24.9875 18.2145C24.9894 18.2019 24.9904 18.1904 24.9923 18.1779C24.9942 18.1586 24.9952 18.1393 24.9971 18.12C24.9971 18.1094 24.999 18.0998 24.999 18.0892C25.001 18.0593 25.001 18.0294 25.001 17.9996V1.80709C25.001 1.62011 24.972 1.43989 24.92 1.27026H24.9181ZM23.1929 0.541644C23.4107 0.541644 23.616 0.597543 23.7953 0.694885C23.8849 0.744038 23.9678 0.802829 24.043 0.871257C24.0584 0.88475 24.0728 0.899207 24.0873 0.9127C24.1162 0.941613 24.1432 0.97149 24.1692 1.00233C24.1952 1.03317 24.2193 1.06594 24.2425 1.09967C24.3793 1.30207 24.4584 1.54494 24.4584 1.80612V17.9996C24.4584 18.0362 24.4564 18.0718 24.4535 18.1075C24.4535 18.1114 24.4535 18.1162 24.4535 18.12C24.4506 18.1538 24.4458 18.1875 24.44 18.2203C24.44 18.2251 24.4381 18.2299 24.4372 18.2357C24.4304 18.2684 24.4237 18.3012 24.415 18.333C24.414 18.3369 24.4131 18.3407 24.4121 18.3446C24.4025 18.3783 24.3919 18.4111 24.3803 18.4429C24.3803 18.4439 24.3803 18.4448 24.3793 18.4458C24.3408 18.5489 24.2887 18.6443 24.2251 18.733V18.7349C24.203 18.7638 24.1808 18.7927 24.1577 18.8197C24.1432 18.8361 24.1287 18.8525 24.1133 18.8689C24.1133 18.8689 24.1133 18.8689 24.1124 18.8698C24.0979 18.8853 24.0825 18.9007 24.0671 18.9151C24.0671 18.9151 24.0661 18.9161 24.0651 18.9171C24.0497 18.9315 24.0333 18.946 24.0169 18.9604C24.0169 18.9604 24.0169 18.9604 24.016 18.9614C23.9312 19.0337 23.8377 19.0944 23.7355 19.1426C23.7336 19.1436 23.7317 19.1445 23.7288 19.1455C23.7114 19.1532 23.6941 19.1609 23.6758 19.1686C23.6709 19.1705 23.6661 19.1725 23.6613 19.1744C23.6459 19.1802 23.6305 19.186 23.615 19.1917C23.6083 19.1937 23.6025 19.1956 23.5958 19.1985C23.5813 19.2033 23.5669 19.2081 23.5524 19.212C23.5447 19.2139 23.5379 19.2158 23.5302 19.2178C23.5167 19.2216 23.5023 19.2255 23.4888 19.2284C23.4811 19.2303 23.4734 19.2322 23.4657 19.2342C23.4522 19.237 23.4377 19.2399 23.4242 19.2428C23.4165 19.2448 23.4078 19.2457 23.4001 19.2476C23.3857 19.2496 23.3712 19.2515 23.3568 19.2534C23.349 19.2544 23.3413 19.2554 23.3327 19.2563C23.3172 19.2582 23.3009 19.2592 23.2845 19.2602C23.2777 19.2602 23.271 19.2611 23.2642 19.2621C23.2411 19.2631 23.2189 19.264 23.1958 19.264H6.99952C6.65063 19.264 6.33451 19.1224 6.10513 18.893C6.04827 18.8361 5.99622 18.7735 5.95093 18.706C5.8372 18.5373 5.76299 18.3407 5.74082 18.1287C5.73697 18.0863 5.73408 18.0429 5.73408 17.9996V1.80709C5.73408 1.78299 5.73408 1.75986 5.736 1.73673C5.736 1.72902 5.73697 1.72227 5.73793 1.71456C5.7389 1.69818 5.74082 1.68276 5.74179 1.66638C5.74179 1.6577 5.74372 1.64999 5.74468 1.64132C5.74661 1.62686 5.74853 1.61144 5.75143 1.59698C5.75239 1.58831 5.75432 1.5806 5.75624 1.57192C5.75914 1.55747 5.76203 1.54205 5.76588 1.52759C5.76781 1.51988 5.76974 1.51217 5.7707 1.50446C5.77456 1.48808 5.77938 1.47169 5.78419 1.45531C5.78612 1.44952 5.78709 1.44374 5.78901 1.43892C5.80251 1.39459 5.81889 1.35122 5.83624 1.30881C5.83624 1.30881 5.83624 1.30689 5.8372 1.30689C5.84588 1.28665 5.85551 1.26641 5.86515 1.24713C5.86708 1.24424 5.86804 1.24038 5.86997 1.23749C5.87864 1.22015 5.88828 1.2028 5.89792 1.18641C5.89985 1.18256 5.90177 1.17967 5.9037 1.17678C5.91334 1.15943 5.92394 1.14304 5.93454 1.12666C5.93647 1.12377 5.93743 1.12184 5.93936 1.11895C5.95189 1.10064 5.96442 1.08232 5.97695 1.06401C6.04634 0.969563 6.12826 0.883786 6.22079 0.811503C6.30078 0.748857 6.38752 0.695849 6.48101 0.654406C6.48293 0.654406 6.48486 0.652479 6.48679 0.651515C6.51666 0.638022 6.54751 0.626457 6.57835 0.614892C6.58027 0.614892 6.58317 0.612964 6.58509 0.612964C6.64678 0.591761 6.71038 0.575377 6.77496 0.562847C6.77978 0.562847 6.7846 0.56092 6.79038 0.559956C6.82122 0.555137 6.85206 0.551282 6.88386 0.548391C6.88965 0.548391 6.89543 0.548391 6.90025 0.547427C6.93302 0.544536 6.96579 0.543572 6.99855 0.543572H23.192L23.1929 0.541644Z"
,
"fill"
:
"black"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M17.2794 11.0016C17.8867 11.0016 18.379 10.5093 18.379 9.90192C18.379 9.29459 17.8867 8.80225 17.2794 8.80225C16.672 8.80225 16.1797 9.29459 16.1797 9.90192C16.1797 10.5093 16.672 11.0016 17.2794 11.0016Z"
,
"fill"
:
"black"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M12.9219 11.0016C13.5293 11.0016 14.0216 10.5093 14.0216 9.90192C14.0216 9.29459 13.5293 8.80225 12.9219 8.80225C12.3146 8.80225 11.8223 9.29459 11.8223 9.90192C11.8223 10.5093 12.3146 11.0016 12.9219 11.0016Z"
,
"fill"
:
"black"
},
"children"
:
[]
}
]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M36.4876 17.098C35.5822 17.098 34.7469 16.888 33.9816 16.468C33.2256 16.0387 32.6236 15.446 32.1756 14.69C31.7369 13.9247 31.5176 13.066 31.5176 12.114C31.5176 11.162 31.7369 10.308 32.1756 9.55204C32.6236 8.79604 33.2256 8.20804 33.9816 7.78804C34.7469 7.35871 35.5822 7.14404 36.4876 7.14404C37.4022 7.14404 38.2376 7.35871 38.9936 7.78804C39.7589 8.20804 40.3609 8.79604 40.7996 9.55204C41.2382 10.308 41.4576 11.162 41.4576 12.114C41.4576 13.066 41.2382 13.9247 40.7996 14.69C40.3609 15.446 39.7589 16.0387 38.9936 16.468C38.2376 16.888 37.4022 17.098 36.4876 17.098ZM36.4876 15.712C37.1316 15.712 37.7056 15.5674 38.2096 15.278C38.7136 14.9794 39.1056 14.5594 39.3856 14.018C39.6749 13.4674 39.8196 12.8327 39.8196 12.114C39.8196 11.3954 39.6749 10.7654 39.3856 10.224C39.1056 9.68271 38.7136 9.26738 38.2096 8.97804C37.7056 8.68871 37.1316 8.54404 36.4876 8.54404C35.8436 8.54404 35.2696 8.68871 34.7656 8.97804C34.2616 9.26738 33.8649 9.68271 33.5756 10.224C33.2956 10.7654 33.1556 11.3954 33.1556 12.114C33.1556 12.8327 33.2956 13.4674 33.5756 14.018C33.8649 14.5594 34.2616 14.9794 34.7656 15.278C35.2696 15.5674 35.8436 15.712 36.4876 15.712Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M44.3441 10.42C44.6148 10.0654 44.9834 9.76671 45.4501 9.52404C45.9168 9.28138 46.4441 9.16004 47.0321 9.16004C47.7041 9.16004 48.3154 9.32804 48.8661 9.66404C49.4261 9.99071 49.8648 10.4527 50.1821 11.05C50.4994 11.6474 50.6581 12.3334 50.6581 13.108C50.6581 13.8827 50.4994 14.578 50.1821 15.194C49.8648 15.8007 49.4261 16.2767 48.8661 16.622C48.3154 16.958 47.7041 17.126 47.0321 17.126C46.4441 17.126 45.9214 17.0094 45.4641 16.776C45.0068 16.5334 44.6334 16.2347 44.3441 15.88V20.668H42.7481V9.28604H44.3441V10.42ZM49.0341 13.108C49.0341 12.576 48.9221 12.1187 48.6981 11.736C48.4834 11.344 48.1941 11.05 47.8301 10.854C47.4754 10.6487 47.0928 10.546 46.6821 10.546C46.2808 10.546 45.8981 10.6487 45.5341 10.854C45.1794 11.0594 44.8901 11.358 44.6661 11.75C44.4514 12.142 44.3441 12.604 44.3441 13.136C44.3441 13.668 44.4514 14.1347 44.6661 14.536C44.8901 14.928 45.1794 15.2267 45.5341 15.432C45.8981 15.6374 46.2808 15.74 46.6821 15.74C47.0928 15.74 47.4754 15.6374 47.8301 15.432C48.1941 15.2174 48.4834 14.9094 48.6981 14.508C48.9221 14.1067 49.0341 13.64 49.0341 13.108Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M59.0264 12.954C59.0264 13.2434 59.0077 13.5047 58.9704 13.738H53.0764C53.123 14.354 53.3517 14.8487 53.7624 15.222C54.173 15.5954 54.677 15.782 55.2744 15.782C56.133 15.782 56.7397 15.4227 57.0944 14.704H58.8164C58.583 15.4134 58.1584 15.9967 57.5424 16.454C56.9357 16.902 56.1797 17.126 55.2744 17.126C54.537 17.126 53.8744 16.9627 53.2864 16.636C52.7077 16.3 52.2504 15.8334 51.9144 15.236C51.5877 14.6294 51.4244 13.9294 51.4244 13.136C51.4244 12.3427 51.583 11.6474 51.9004 11.05C52.227 10.4434 52.6797 9.97671 53.2584 9.65004C53.8464 9.32338 54.5184 9.16004 55.2744 9.16004C56.0024 9.16004 56.651 9.31871 57.2204 9.63604C57.7897 9.95338 58.233 10.4014 58.5504 10.98C58.8677 11.5494 59.0264 12.2074 59.0264 12.954ZM57.3604 12.45C57.351 11.862 57.141 11.3907 56.7304 11.036C56.3197 10.6814 55.811 10.504 55.2044 10.504C54.6537 10.504 54.1824 10.6814 53.7904 11.036C53.3984 11.3814 53.165 11.8527 53.0904 12.45H57.3604Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M64.209 9.16004C64.8157 9.16004 65.357 9.28604 65.833 9.53804C66.3183 9.79004 66.6963 10.1634 66.967 10.658C67.2377 11.1527 67.373 11.75 67.373 12.45V17H65.791V12.688C65.791 11.9974 65.6183 11.47 65.273 11.106C64.9277 10.7327 64.4563 10.546 63.859 10.546C63.2617 10.546 62.7857 10.7327 62.431 11.106C62.0857 11.47 61.913 11.9974 61.913 12.688V17H60.317V9.28604H61.913V10.168C62.1743 9.85071 62.5057 9.60338 62.907 9.42604C63.3177 9.24871 63.7517 9.16004 64.209 9.16004Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M70.7248 15.712H74.0148V17H69.1288V7.27004H70.7248V15.712Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M76.6655 15.712H79.9555V17H75.0695V7.27004H76.6655V15.712Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M91.2582 7.27004V17H89.6622V10.336L86.6942 17H85.5882L82.6062 10.336V17H81.0102V7.27004H82.7322L86.1482 14.9L89.5502 7.27004H91.2582Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"defs"
,
"attributes"
:
{},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"clipPath"
,
"attributes"
:
{
"id"
:
"clip0_9850_26886"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"rect"
,
"attributes"
:
{
"width"
:
"24"
,
"height"
:
"24.0945"
,
"fill"
:
"white"
,
"transform"
:
"translate(1)"
},
"children"
:
[]
}
]
}
]
}
]
},
"name"
:
"OpenllmText"
}
\ No newline at end of file
web/app/components/base/icons/src/public/llm/OpenllmText.tsx
0 → 100644
View file @
215a27fd
// GENERATE BY script
// DON NOT EDIT IT MANUALLY
import
*
as
React
from
'react'
import
data
from
'./OpenllmText.json'
import
IconBase
from
'@/app/components/base/icons/IconBase'
import
type
{
IconBaseProps
,
IconData
}
from
'@/app/components/base/icons/IconBase'
const
Icon
=
React
.
forwardRef
<
React
.
MutableRefObject
<
SVGElement
>
,
Omit
<
IconBaseProps
,
'data'
>>
((
props
,
ref
,
)
=>
<
IconBase
{
...
props
}
ref=
{
ref
}
data=
{
data
as
IconData
}
/>)
export
default
Icon
web/app/components/base/icons/src/public/llm/XorbitsInference.json
0 → 100644
View file @
215a27fd
{
"icon"
:
{
"type"
:
"element"
,
"isRootNode"
:
true
,
"name"
:
"svg"
,
"attributes"
:
{
"width"
:
"24"
,
"height"
:
"24"
,
"viewBox"
:
"0 0 24 24"
,
"fill"
:
"none"
,
"xmlns"
:
"http://www.w3.org/2000/svg"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"g"
,
"attributes"
:
{
"id"
:
"Xorbits Square"
,
"clip-path"
:
"url(#clip0_9850_26870)"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"Vector"
,
"d"
:
"M8.00391 12.3124C8.69334 13.0754 9.47526 13.7494 10.3316 14.3188C11.0667 14.8105 11.8509 15.2245 12.6716 15.5541C14.1617 14.1465 15.3959 12.4907 16.3192 10.6606L21.7051 0L12.3133 7.38353C10.5832 8.74456 9.12178 10.416 8.00391 12.3124Z"
,
"fill"
:
"url(#paint0_linear_9850_26870)"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"Vector_2"
,
"d"
:
"M7.23504 18.9512C6.56092 18.5012 5.92386 18.0265 5.3221 17.5394L2.06445 24L7.91975 19.3959C7.69034 19.2494 7.46092 19.103 7.23504 18.9512Z"
,
"fill"
:
"url(#paint1_linear_9850_26870)"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"Vector_3"
,
"d"
:
"M19.3161 8.57474C21.0808 10.9147 21.5961 13.5159 20.3996 15.3053C18.6526 17.9189 13.9161 17.8183 9.82024 15.0812C5.72435 12.3441 3.82024 8.0065 5.56729 5.39297C6.76377 3.60356 9.36318 3.0865 12.2008 3.81886C7.29318 1.73474 2.62376 1.94121 0.813177 4.64474C-1.45976 8.04709 1.64435 14.1177 7.74494 18.1889C13.8455 22.26 20.6361 22.8124 22.9091 19.4118C24.7179 16.703 23.1173 12.3106 19.3161 8.57474Z"
,
"fill"
:
"url(#paint2_linear_9850_26870)"
},
"children"
:
[]
}
]
},
{
"type"
:
"element"
,
"name"
:
"defs"
,
"attributes"
:
{},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"linearGradient"
,
"attributes"
:
{
"id"
:
"paint0_linear_9850_26870"
,
"x1"
:
"2.15214"
,
"y1"
:
"24.3018"
,
"x2"
:
"21.2921"
,
"y2"
:
"0.0988218"
,
"gradientUnits"
:
"userSpaceOnUse"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"stop-color"
:
"#E9A85E"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"offset"
:
"1"
,
"stop-color"
:
"#F52B76"
},
"children"
:
[]
}
]
},
{
"type"
:
"element"
,
"name"
:
"linearGradient"
,
"attributes"
:
{
"id"
:
"paint1_linear_9850_26870"
,
"x1"
:
"2.06269"
,
"y1"
:
"24.2294"
,
"x2"
:
"21.2027"
,
"y2"
:
"0.028252"
,
"gradientUnits"
:
"userSpaceOnUse"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"stop-color"
:
"#E9A85E"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"offset"
:
"1"
,
"stop-color"
:
"#F52B76"
},
"children"
:
[]
}
]
},
{
"type"
:
"element"
,
"name"
:
"linearGradient"
,
"attributes"
:
{
"id"
:
"paint2_linear_9850_26870"
,
"x1"
:
"-0.613606"
,
"y1"
:
"3.843"
,
"x2"
:
"21.4449"
,
"y2"
:
"18.7258"
,
"gradientUnits"
:
"userSpaceOnUse"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"stop-color"
:
"#6A0CF5"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"offset"
:
"1"
,
"stop-color"
:
"#AB66F3"
},
"children"
:
[]
}
]
},
{
"type"
:
"element"
,
"name"
:
"clipPath"
,
"attributes"
:
{
"id"
:
"clip0_9850_26870"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"rect"
,
"attributes"
:
{
"width"
:
"24"
,
"height"
:
"24"
,
"fill"
:
"white"
},
"children"
:
[]
}
]
}
]
}
]
},
"name"
:
"XorbitsInference"
}
\ No newline at end of file
web/app/components/base/icons/src/public/llm/XorbitsInference.tsx
0 → 100644
View file @
215a27fd
// GENERATE BY script
// DON NOT EDIT IT MANUALLY
import
*
as
React
from
'react'
import
data
from
'./XorbitsInference.json'
import
IconBase
from
'@/app/components/base/icons/IconBase'
import
type
{
IconBaseProps
,
IconData
}
from
'@/app/components/base/icons/IconBase'
const
Icon
=
React
.
forwardRef
<
React
.
MutableRefObject
<
SVGElement
>
,
Omit
<
IconBaseProps
,
'data'
>>
((
props
,
ref
,
)
=>
<
IconBase
{
...
props
}
ref=
{
ref
}
data=
{
data
as
IconData
}
/>)
export
default
Icon
web/app/components/base/icons/src/public/llm/XorbitsInferenceText.json
0 → 100644
View file @
215a27fd
{
"icon"
:
{
"type"
:
"element"
,
"isRootNode"
:
true
,
"name"
:
"svg"
,
"attributes"
:
{
"width"
:
"152"
,
"height"
:
"24"
,
"viewBox"
:
"0 0 152 24"
,
"fill"
:
"none"
,
"xmlns"
:
"http://www.w3.org/2000/svg"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"g"
,
"attributes"
:
{
"id"
:
"xorbits 1"
,
"clip-path"
:
"url(#clip0_9866_6170)"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"Vector"
,
"d"
:
"M8.00391 12.3124C8.69334 13.0754 9.47526 13.7494 10.3316 14.3188C11.0667 14.8105 11.8509 15.2245 12.6716 15.5541C14.1617 14.1465 15.3959 12.4907 16.3192 10.6606L21.7051 0L12.3133 7.38353C10.5832 8.74456 9.12178 10.416 8.00391 12.3124Z"
,
"fill"
:
"url(#paint0_linear_9866_6170)"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"Vector_2"
,
"d"
:
"M7.23504 18.9512C6.56092 18.5012 5.92386 18.0265 5.3221 17.5394L2.06445 24L7.91975 19.3959C7.69034 19.2494 7.46092 19.103 7.23504 18.9512Z"
,
"fill"
:
"url(#paint1_linear_9866_6170)"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"id"
:
"Vector_3"
,
"d"
:
"M19.3161 8.57474C21.0808 10.9147 21.5961 13.5159 20.3996 15.3053C18.6526 17.9189 13.9161 17.8183 9.82024 15.0812C5.72435 12.3441 3.82024 8.0065 5.56729 5.39297C6.76377 3.60356 9.36318 3.0865 12.2008 3.81886C7.29318 1.73474 2.62376 1.94121 0.813177 4.64474C-1.45976 8.04709 1.64435 14.1177 7.74494 18.1889C13.8455 22.26 20.6361 22.8124 22.9091 19.4118C24.7179 16.703 23.1173 12.3106 19.3161 8.57474Z"
,
"fill"
:
"url(#paint2_linear_9866_6170)"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"g"
,
"attributes"
:
{
"id"
:
"Xorbits Inference"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M35.5162 12.142L38.5402 17H36.7482L34.5502 13.472L32.4922 17H30.7142L33.7382 12.142L30.7002 7.27002H32.4922L34.7042 10.826L36.7762 7.27002H38.5542L35.5162 12.142Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M43.3584 17.126C42.6304 17.126 41.9724 16.9627 41.3844 16.636C40.7964 16.3 40.3344 15.8334 39.9984 15.236C39.6624 14.6294 39.4944 13.9293 39.4944 13.136C39.4944 12.352 39.6671 11.6567 40.0124 11.05C40.3577 10.4434 40.8291 9.97668 41.4264 9.65002C42.0237 9.32335 42.6911 9.16002 43.4284 9.16002C44.1657 9.16002 44.8331 9.32335 45.4304 9.65002C46.0277 9.97668 46.4991 10.4434 46.8444 11.05C47.1897 11.6567 47.3624 12.352 47.3624 13.136C47.3624 13.92 47.185 14.6154 46.8304 15.222C46.4757 15.8287 45.9904 16.3 45.3744 16.636C44.7677 16.9627 44.0957 17.126 43.3584 17.126ZM43.3584 15.74C43.769 15.74 44.1517 15.642 44.5064 15.446C44.8704 15.25 45.1644 14.956 45.3884 14.564C45.6124 14.172 45.7244 13.696 45.7244 13.136C45.7244 12.576 45.6171 12.1047 45.4024 11.722C45.1877 11.33 44.9031 11.036 44.5484 10.84C44.1937 10.644 43.8111 10.546 43.4004 10.546C42.9897 10.546 42.607 10.644 42.2524 10.84C41.9071 11.036 41.6317 11.33 41.4264 11.722C41.221 12.1047 41.1184 12.576 41.1184 13.136C41.1184 13.9667 41.3284 14.6107 41.7484 15.068C42.1777 15.516 42.7144 15.74 43.3584 15.74Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M50.2561 10.406C50.4895 10.014 50.7974 9.71068 51.1801 9.49602C51.5721 9.27202 52.0341 9.16002 52.5661 9.16002V10.812H52.1601C51.5348 10.812 51.0588 10.9707 50.7321 11.288C50.4148 11.6054 50.2561 12.156 50.2561 12.94V17H48.6601V9.28602H50.2561V10.406Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M55.3492 10.434C55.6198 10.0607 55.9885 9.75735 56.4552 9.52402C56.9312 9.28135 57.4585 9.16002 58.0372 9.16002C58.7185 9.16002 59.3345 9.32335 59.8852 9.65002C60.4358 9.97668 60.8698 10.4434 61.1872 11.05C61.5045 11.6473 61.6632 12.3333 61.6632 13.108C61.6632 13.8827 61.5045 14.578 61.1872 15.194C60.8698 15.8007 60.4312 16.2767 59.8712 16.622C59.3205 16.958 58.7092 17.126 58.0372 17.126C57.4398 17.126 56.9078 17.0093 56.4412 16.776C55.9838 16.5427 55.6198 16.244 55.3492 15.88V17H53.7532V6.64002H55.3492V10.434ZM60.0392 13.108C60.0392 12.576 59.9272 12.1187 59.7032 11.736C59.4885 11.344 59.1992 11.05 58.8352 10.854C58.4805 10.6487 58.0978 10.546 57.6872 10.546C57.2858 10.546 56.9032 10.6487 56.5392 10.854C56.1845 11.0594 55.8952 11.358 55.6712 11.75C55.4565 12.142 55.3492 12.604 55.3492 13.136C55.3492 13.668 55.4565 14.1347 55.6712 14.536C55.8952 14.928 56.1845 15.2267 56.5392 15.432C56.9032 15.6374 57.2858 15.74 57.6872 15.74C58.0978 15.74 58.4805 15.6374 58.8352 15.432C59.1992 15.2174 59.4885 14.9093 59.7032 14.508C59.9272 14.1067 60.0392 13.64 60.0392 13.108Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M63.7734 8.26402C63.4841 8.26402 63.2414 8.16602 63.0454 7.97002C62.8494 7.77402 62.7514 7.53135 62.7514 7.24202C62.7514 6.95268 62.8494 6.71002 63.0454 6.51402C63.2414 6.31802 63.4841 6.22002 63.7734 6.22002C64.0534 6.22002 64.2914 6.31802 64.4874 6.51402C64.6834 6.71002 64.7814 6.95268 64.7814 7.24202C64.7814 7.53135 64.6834 7.77402 64.4874 7.97002C64.2914 8.16602 64.0534 8.26402 63.7734 8.26402ZM64.5574 9.28602V17H62.9614V9.28602H64.5574Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M68.2348 10.588V14.858C68.2348 15.1474 68.3002 15.3573 68.4309 15.488C68.5709 15.6093 68.8042 15.67 69.1308 15.67H70.1109V17H68.8508C68.1322 17 67.5815 16.832 67.1988 16.496C66.8162 16.16 66.6248 15.614 66.6248 14.858V10.588H65.7148V9.28602H66.6248V7.36802H68.2348V9.28602H70.1109V10.588H68.2348Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M74.1018 17.126C73.4952 17.126 72.9492 17.0187 72.4638 16.804C71.9878 16.58 71.6098 16.2813 71.3298 15.908C71.0498 15.5253 70.9005 15.1007 70.8818 14.634H72.5338C72.5618 14.9607 72.7158 15.236 72.9958 15.46C73.2852 15.6747 73.6445 15.782 74.0738 15.782C74.5218 15.782 74.8672 15.698 75.1098 15.53C75.3618 15.3527 75.4878 15.1287 75.4878 14.858C75.4878 14.5687 75.3478 14.354 75.0678 14.214C74.7972 14.074 74.3632 13.92 73.7658 13.752C73.1872 13.5933 72.7158 13.4394 72.3518 13.29C71.9878 13.1407 71.6705 12.912 71.3998 12.604C71.1385 12.296 71.0078 11.89 71.0078 11.386C71.0078 10.9753 71.1292 10.602 71.3718 10.266C71.6145 9.92068 71.9598 9.65002 72.4078 9.45402C72.8652 9.25802 73.3878 9.16002 73.9758 9.16002C74.8532 9.16002 75.5578 9.38402 76.0898 9.83202C76.6312 10.2707 76.9205 10.8727 76.9578 11.638H75.3618C75.3338 11.2927 75.1938 11.0173 74.9418 10.812C74.6898 10.6067 74.3492 10.504 73.9198 10.504C73.4998 10.504 73.1778 10.5833 72.9538 10.742C72.7298 10.9007 72.6178 11.1107 72.6178 11.372C72.6178 11.5773 72.6925 11.75 72.8418 11.89C72.9912 12.03 73.1732 12.142 73.3878 12.226C73.6025 12.3007 73.9198 12.3987 74.3398 12.52C74.8998 12.6693 75.3572 12.8233 75.7118 12.982C76.0758 13.1314 76.3885 13.3554 76.6498 13.654C76.9112 13.9527 77.0465 14.3493 77.0558 14.844C77.0558 15.2827 76.9345 15.6747 76.6918 16.02C76.4492 16.3654 76.1038 16.636 75.6558 16.832C75.2172 17.028 74.6992 17.126 74.1018 17.126Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M83.4531 7.27002V17H81.8571V7.27002H83.4531Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M89.1605 9.16002C89.7671 9.16002 90.3085 9.28602 90.7845 9.53802C91.2698 9.79002 91.6478 10.1633 91.9185 10.658C92.1891 11.1527 92.3245 11.75 92.3245 12.45V17H90.7425V12.688C90.7425 11.9973 90.5698 11.47 90.2245 11.106C89.8791 10.7327 89.4078 10.546 88.8105 10.546C88.2131 10.546 87.7371 10.7327 87.3825 11.106C87.0371 11.47 86.8645 11.9973 86.8645 12.688V17H85.2685V9.28602H86.8645V10.168C87.1258 9.85068 87.4571 9.60335 87.8585 9.42602C88.2691 9.24868 88.7031 9.16002 89.1605 9.16002Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M97.3143 10.588H95.8863V17H94.2763V10.588H93.3663V9.28602H94.2763V8.74002C94.2763 7.85335 94.5096 7.20935 94.9763 6.80802C95.4523 6.39735 96.1943 6.19202 97.2023 6.19202V7.52202C96.7169 7.52202 96.3763 7.61535 96.1803 7.80202C95.9843 7.97935 95.8863 8.29202 95.8863 8.74002V9.28602H97.3143V10.588Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M105.519 12.954C105.519 13.2433 105.5 13.5047 105.463 13.738H99.5687C99.6154 14.354 99.844 14.8487 100.255 15.222C100.665 15.5954 101.169 15.782 101.767 15.782C102.625 15.782 103.232 15.4227 103.587 14.704H105.309C105.075 15.4133 104.651 15.9967 104.035 16.454C103.428 16.902 102.672 17.126 101.767 17.126C101.029 17.126 100.367 16.9627 99.7787 16.636C99.2 16.3 98.7427 15.8334 98.4067 15.236C98.08 14.6294 97.9167 13.9293 97.9167 13.136C97.9167 12.3427 98.0754 11.6473 98.3927 11.05C98.7194 10.4434 99.172 9.97668 99.7507 9.65002C100.339 9.32335 101.011 9.16002 101.767 9.16002C102.495 9.16002 103.143 9.31868 103.713 9.63602C104.282 9.95335 104.725 10.4014 105.043 10.98C105.36 11.5493 105.519 12.2073 105.519 12.954ZM103.853 12.45C103.843 11.862 103.633 11.3907 103.223 11.036C102.812 10.6813 102.303 10.504 101.697 10.504C101.146 10.504 100.675 10.6813 100.283 11.036C99.8907 11.3813 99.6574 11.8527 99.5827 12.45H103.853Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M108.405 10.406C108.639 10.014 108.947 9.71068 109.329 9.49602C109.721 9.27202 110.183 9.16002 110.715 9.16002V10.812H110.309C109.684 10.812 109.208 10.9707 108.881 11.288C108.564 11.6054 108.405 12.156 108.405 12.94V17H106.809V9.28602H108.405V10.406Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M118.972 12.954C118.972 13.2433 118.954 13.5047 118.916 13.738H113.022C113.069 14.354 113.298 14.8487 113.708 15.222C114.119 15.5954 114.623 15.782 115.22 15.782C116.079 15.782 116.686 15.4227 117.04 14.704H118.762C118.529 15.4133 118.104 15.9967 117.488 16.454C116.882 16.902 116.126 17.126 115.22 17.126C114.483 17.126 113.82 16.9627 113.232 16.636C112.654 16.3 112.196 15.8334 111.86 15.236C111.534 14.6294 111.37 13.9293 111.37 13.136C111.37 12.3427 111.529 11.6473 111.846 11.05C112.173 10.4434 112.626 9.97668 113.204 9.65002C113.792 9.32335 114.464 9.16002 115.22 9.16002C115.948 9.16002 116.597 9.31868 117.166 9.63602C117.736 9.95335 118.179 10.4014 118.496 10.98C118.814 11.5493 118.972 12.2073 118.972 12.954ZM117.306 12.45C117.297 11.862 117.087 11.3907 116.676 11.036C116.266 10.6813 115.757 10.504 115.15 10.504C114.6 10.504 114.128 10.6813 113.736 11.036C113.344 11.3813 113.111 11.8527 113.036 12.45H117.306Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M124.155 9.16002C124.762 9.16002 125.303 9.28602 125.779 9.53802C126.264 9.79002 126.642 10.1633 126.913 10.658C127.184 11.1527 127.319 11.75 127.319 12.45V17H125.737V12.688C125.737 11.9973 125.564 11.47 125.219 11.106C124.874 10.7327 124.402 10.546 123.805 10.546C123.208 10.546 122.732 10.7327 122.377 11.106C122.032 11.47 121.859 11.9973 121.859 12.688V17H120.263V9.28602H121.859V10.168C122.12 9.85068 122.452 9.60335 122.853 9.42602C123.264 9.24868 123.698 9.16002 124.155 9.16002Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M128.543 13.136C128.543 12.3427 128.701 11.6473 129.019 11.05C129.345 10.4434 129.793 9.97668 130.363 9.65002C130.932 9.32335 131.585 9.16002 132.323 9.16002C133.256 9.16002 134.026 9.38402 134.633 9.83202C135.249 10.2707 135.664 10.9007 135.879 11.722H134.157C134.017 11.3394 133.793 11.0407 133.485 10.826C133.177 10.6113 132.789 10.504 132.323 10.504C131.669 10.504 131.147 10.7373 130.755 11.204C130.372 11.6613 130.181 12.3053 130.181 13.136C130.181 13.9667 130.372 14.6153 130.755 15.082C131.147 15.5487 131.669 15.782 132.323 15.782C133.247 15.782 133.858 15.376 134.157 14.564H135.879C135.655 15.348 135.235 15.9733 134.619 16.44C134.003 16.8973 133.237 17.126 132.323 17.126C131.585 17.126 130.932 16.9627 130.363 16.636C129.793 16.3 129.345 15.8334 129.019 15.236C128.701 14.6294 128.543 13.9293 128.543 13.136Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"path"
,
"attributes"
:
{
"d"
:
"M144.259 12.954C144.259 13.2433 144.241 13.5047 144.203 13.738H138.309C138.356 14.354 138.585 14.8487 138.995 15.222C139.406 15.5954 139.91 15.782 140.507 15.782C141.366 15.782 141.973 15.4227 142.327 14.704H144.049C143.816 15.4133 143.391 15.9967 142.775 16.454C142.169 16.902 141.413 17.126 140.507 17.126C139.77 17.126 139.107 16.9627 138.519 16.636C137.941 16.3 137.483 15.8334 137.147 15.236C136.821 14.6294 136.657 13.9293 136.657 13.136C136.657 12.3427 136.816 11.6473 137.133 11.05C137.46 10.4434 137.913 9.97668 138.491 9.65002C139.079 9.32335 139.751 9.16002 140.507 9.16002C141.235 9.16002 141.884 9.31868 142.453 9.63602C143.023 9.95335 143.466 10.4014 143.783 10.98C144.101 11.5493 144.259 12.2073 144.259 12.954ZM142.593 12.45C142.584 11.862 142.374 11.3907 141.963 11.036C141.553 10.6813 141.044 10.504 140.437 10.504C139.887 10.504 139.415 10.6813 139.023 11.036C138.631 11.3813 138.398 11.8527 138.323 12.45H142.593Z"
,
"fill"
:
"#1D2939"
},
"children"
:
[]
}
]
}
]
},
{
"type"
:
"element"
,
"name"
:
"defs"
,
"attributes"
:
{},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"linearGradient"
,
"attributes"
:
{
"id"
:
"paint0_linear_9866_6170"
,
"x1"
:
"2.15214"
,
"y1"
:
"24.3018"
,
"x2"
:
"21.2921"
,
"y2"
:
"0.0988218"
,
"gradientUnits"
:
"userSpaceOnUse"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"stop-color"
:
"#E9A85E"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"offset"
:
"1"
,
"stop-color"
:
"#F52B76"
},
"children"
:
[]
}
]
},
{
"type"
:
"element"
,
"name"
:
"linearGradient"
,
"attributes"
:
{
"id"
:
"paint1_linear_9866_6170"
,
"x1"
:
"2.06269"
,
"y1"
:
"24.2294"
,
"x2"
:
"21.2027"
,
"y2"
:
"0.028252"
,
"gradientUnits"
:
"userSpaceOnUse"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"stop-color"
:
"#E9A85E"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"offset"
:
"1"
,
"stop-color"
:
"#F52B76"
},
"children"
:
[]
}
]
},
{
"type"
:
"element"
,
"name"
:
"linearGradient"
,
"attributes"
:
{
"id"
:
"paint2_linear_9866_6170"
,
"x1"
:
"-0.613606"
,
"y1"
:
"3.843"
,
"x2"
:
"21.4449"
,
"y2"
:
"18.7258"
,
"gradientUnits"
:
"userSpaceOnUse"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"stop-color"
:
"#6A0CF5"
},
"children"
:
[]
},
{
"type"
:
"element"
,
"name"
:
"stop"
,
"attributes"
:
{
"offset"
:
"1"
,
"stop-color"
:
"#AB66F3"
},
"children"
:
[]
}
]
},
{
"type"
:
"element"
,
"name"
:
"clipPath"
,
"attributes"
:
{
"id"
:
"clip0_9866_6170"
},
"children"
:
[
{
"type"
:
"element"
,
"name"
:
"rect"
,
"attributes"
:
{
"width"
:
"152"
,
"height"
:
"24"
,
"fill"
:
"white"
},
"children"
:
[]
}
]
}
]
}
]
},
"name"
:
"XorbitsInferenceText"
}
\ No newline at end of file
web/app/components/base/icons/src/public/llm/XorbitsInferenceText.tsx
0 → 100644
View file @
215a27fd
// GENERATE BY script
// DON NOT EDIT IT MANUALLY
import
*
as
React
from
'react'
import
data
from
'./XorbitsInferenceText.json'
import
IconBase
from
'@/app/components/base/icons/IconBase'
import
type
{
IconBaseProps
,
IconData
}
from
'@/app/components/base/icons/IconBase'
const
Icon
=
React
.
forwardRef
<
React
.
MutableRefObject
<
SVGElement
>
,
Omit
<
IconBaseProps
,
'data'
>>
((
props
,
ref
,
)
=>
<
IconBase
{
...
props
}
ref=
{
ref
}
data=
{
data
as
IconData
}
/>)
export
default
Icon
web/app/components/base/icons/src/public/llm/index.ts
View file @
215a27fd
...
...
@@ -21,5 +21,9 @@ export { default as OpenaiGreen } from './OpenaiGreen'
export
{
default
as
OpenaiText
}
from
'./OpenaiText'
export
{
default
as
OpenaiTransparent
}
from
'./OpenaiTransparent'
export
{
default
as
OpenaiViolet
}
from
'./OpenaiViolet'
export
{
default
as
OpenllmText
}
from
'./OpenllmText'
export
{
default
as
Openllm
}
from
'./Openllm'
export
{
default
as
ReplicateText
}
from
'./ReplicateText'
export
{
default
as
Replicate
}
from
'./Replicate'
export
{
default
as
XorbitsInferenceText
}
from
'./XorbitsInferenceText'
export
{
default
as
XorbitsInference
}
from
'./XorbitsInference'
web/app/components/base/icons/src/vender/line/general/DotsHorizontal.json
View file @
215a27fd
...
...
@@ -68,4 +68,4 @@
]
},
"name"
:
"DotsHorizontal"
}
}
\ No newline at end of file
web/app/components/header/account-setting/model-page/configs/index.ts
View file @
215a27fd
...
...
@@ -8,6 +8,8 @@ import tongyi from './tongyi'
import
spark
from
'./spark'
import
minimax
from
'./minimax'
import
chatglm
from
'./chatglm'
import
xinference
from
'./xinference'
import
openllm
from
'./openllm'
export
default
{
openai
,
...
...
@@ -20,4 +22,6 @@ export default {
spark
,
minimax
,
chatglm
,
xinference
,
openllm
,
}
web/app/components/header/account-setting/model-page/configs/openllm.tsx
0 → 100644
View file @
215a27fd
import
{
ProviderEnum
}
from
'../declarations'
import
type
{
ProviderConfig
}
from
'../declarations'
import
{
Openllm
,
OpenllmText
}
from
'@/app/components/base/icons/src/public/llm'
const
config
:
ProviderConfig
=
{
selector
:
{
name
:
{
'en'
:
'OpenLLM'
,
'zh-Hans'
:
'OpenLLM'
,
},
icon
:
<
Openllm
className=
'w-full h-full'
/>,
},
item
:
{
key
:
ProviderEnum
.
openllm
,
titleIcon
:
{
'en'
:
<
OpenllmText
className
=
'h-6'
/>
,
'zh-Hans'
:
<
OpenllmText
className
=
'h-6'
/>
,
},
disable
:
{
tip
:
{
'en'
:
'Only supports the '
,
'zh-Hans'
:
'仅支持'
,
},
link
:
{
href
:
{
'en'
:
'https://docs.dify.ai/getting-started/install-self-hosted'
,
'zh-Hans'
:
'https://docs.dify.ai/v/zh-hans/getting-started/install-self-hosted'
,
},
label
:
{
'en'
:
'community open-source version'
,
'zh-Hans'
:
'社区开源版本'
,
},
},
},
},
modal
:
{
key
:
ProviderEnum
.
openllm
,
title
:
{
'en'
:
'OpenLLM'
,
'zh-Hans'
:
'OpenLLM'
,
},
icon
:
<
Openllm
className=
'h-6'
/>,
link
:
{
href
:
'https://github.com/bentoml/OpenLLM'
,
label
:
{
'en'
:
'How to deploy OpenLLM'
,
'zh-Hans'
:
'如何部署 OpenLLM'
,
},
},
defaultValue
:
{
model_type
:
'text-generation'
,
},
validateKeys
:
[
'model_type'
,
'model_name'
,
'server_url'
,
],
fields
:
[
{
type
:
'text'
,
key
:
'model_name'
,
required
:
true
,
label
:
{
'en'
:
'Model Name'
,
'zh-Hans'
:
'模型名称'
,
},
placeholder
:
{
'en'
:
'Enter your Model Name here'
,
'zh-Hans'
:
'在此输入您的模型名称'
,
},
},
{
type
:
'text'
,
key
:
'server_url'
,
required
:
true
,
label
:
{
'en'
:
'Server url'
,
'zh-Hans'
:
'Server url'
,
},
placeholder
:
{
'en'
:
'Enter your Server Url, eg: https://example.com/xxx'
,
'zh-Hans'
:
'在此输入您的 Server Url,如:https://example.com/xxx'
,
},
},
],
},
}
export
default
config
web/app/components/header/account-setting/model-page/configs/xinference.tsx
0 → 100644
View file @
215a27fd
import
{
ProviderEnum
}
from
'../declarations'
import
type
{
ProviderConfig
}
from
'../declarations'
import
{
XorbitsInference
,
XorbitsInferenceText
}
from
'@/app/components/base/icons/src/public/llm'
const
config
:
ProviderConfig
=
{
selector
:
{
name
:
{
'en'
:
'Xinference'
,
'zh-Hans'
:
'Xinference'
,
},
icon
:
<
XorbitsInference
className=
'w-full h-full'
/>,
},
item
:
{
key
:
ProviderEnum
.
xinference
,
titleIcon
:
{
'en'
:
<
XorbitsInferenceText
className
=
'h-6'
/>
,
'zh-Hans'
:
<
XorbitsInferenceText
className
=
'h-6'
/>
,
},
disable
:
{
tip
:
{
'en'
:
'Only supports the '
,
'zh-Hans'
:
'仅支持'
,
},
link
:
{
href
:
{
'en'
:
'https://docs.dify.ai/getting-started/install-self-hosted'
,
'zh-Hans'
:
'https://docs.dify.ai/v/zh-hans/getting-started/install-self-hosted'
,
},
label
:
{
'en'
:
'community open-source version'
,
'zh-Hans'
:
'社区开源版本'
,
},
},
},
},
modal
:
{
key
:
ProviderEnum
.
xinference
,
title
:
{
'en'
:
'Xinference'
,
'zh-Hans'
:
'Xinference'
,
},
icon
:
<
XorbitsInference
className=
'h-6'
/>,
link
:
{
href
:
'https://github.com/xorbitsai/inference'
,
label
:
{
'en'
:
'How to deploy Xinference'
,
'zh-Hans'
:
'如何部署 Xinference'
,
},
},
defaultValue
:
{
model_type
:
'text-generation'
,
},
validateKeys
:
[
'model_type'
,
'model_name'
,
'server_url'
,
'model_uid'
,
],
fields
:
[
{
type
:
'radio'
,
key
:
'model_type'
,
required
:
true
,
label
:
{
'en'
:
'Model Type'
,
'zh-Hans'
:
'模型类型'
,
},
options
:
[
{
key
:
'text-generation'
,
label
:
{
'en'
:
'Text Generation'
,
'zh-Hans'
:
'文本生成'
,
},
},
{
key
:
'embeddings'
,
label
:
{
'en'
:
'Embeddings'
,
'zh-Hans'
:
'Embeddings'
,
},
},
],
},
{
type
:
'text'
,
key
:
'model_name'
,
required
:
true
,
label
:
{
'en'
:
'Model Name'
,
'zh-Hans'
:
'模型名称'
,
},
placeholder
:
{
'en'
:
'Enter your Model Name here'
,
'zh-Hans'
:
'在此输入您的模型名称'
,
},
},
{
type
:
'text'
,
key
:
'server_url'
,
required
:
true
,
label
:
{
'en'
:
'Server Url'
,
'zh-Hans'
:
'Server Url'
,
},
placeholder
:
{
'en'
:
'Enter your Server url, eg: https://example.com/xxx'
,
'zh-Hans'
:
'在此输入您的 Server url,如:https://example.com/xxx'
,
},
},
{
type
:
'text'
,
key
:
'model_uid'
,
required
:
true
,
label
:
{
'en'
:
'Model UID'
,
'zh-Hans'
:
'Model UID'
,
},
placeholder
:
{
'en'
:
'Enter your Model UID'
,
'zh-Hans'
:
'在此输入您的 Model UID'
,
},
},
],
},
}
export
default
config
web/app/components/header/account-setting/model-page/declarations.ts
View file @
215a27fd
...
...
@@ -39,6 +39,8 @@ export enum ProviderEnum {
'spark'
=
'spark'
,
'minimax'
=
'minimax'
,
'chatglm'
=
'chatglm'
,
'xinference'
=
'xinference'
,
'openllm'
=
'openllm'
,
}
export
type
ProviderConfigItem
=
{
...
...
web/app/components/header/account-setting/model-page/index.tsx
View file @
215a27fd
...
...
@@ -83,6 +83,8 @@ const ModelPage = () => {
config
.
tongyi
,
config
.
wenxin
,
config
.
chatglm
,
config
.
xinference
,
config
.
openllm
,
]
}
else
{
...
...
@@ -95,6 +97,8 @@ const ModelPage = () => {
config
.
tongyi
,
config
.
wenxin
,
config
.
chatglm
,
config
.
xinference
,
config
.
openllm
,
]
}
...
...
web/app/components/header/account-setting/model-page/model-item/Setting.tsx
View file @
215a27fd
...
...
@@ -59,8 +59,9 @@ const Setting: FC<SettingProps> = ({
{
configurable
&&
(
<
Button
className=
{
`!px-3 !h-7 rounded-md bg-white !text-xs font-medium text-gray-700 ${!!modelItem.disable && '!text-gray-300'}`
}
className=
{
`!px-3 !h-7 rounded-md bg-white !text-xs font-medium text-gray-700 ${!!modelItem.disable &&
!IS_CE_EDITION &&
'!text-gray-300'}`
}
onClick=
{
()
=>
onOpenModal
()
}
disabled=
{
!!
modelItem
.
disable
&&
!
IS_CE_EDITION
}
>
{
t
(
'common.operation.add'
)
}
</
Button
>
...
...
web/app/components/header/account-setting/model-page/utils.ts
View file @
215a27fd
...
...
@@ -2,7 +2,7 @@ import { ValidatedStatus } from '../key-validator/declarations'
import
{
ProviderEnum
}
from
'./declarations'
import
{
validateModelProvider
}
from
'@/service/common'
export
const
ConfigurableProviders
=
[
ProviderEnum
.
azure_openai
,
ProviderEnum
.
replicate
,
ProviderEnum
.
huggingface_hub
]
export
const
ConfigurableProviders
=
[
ProviderEnum
.
azure_openai
,
ProviderEnum
.
replicate
,
ProviderEnum
.
huggingface_hub
,
ProviderEnum
.
xinference
,
ProviderEnum
.
openllm
]
export
const
validateModelProviderFn
=
async
(
providerName
:
ProviderEnum
,
v
:
any
)
=>
{
let
body
,
url
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment