4.6.8-alpha (#804)

* perf: redirect request and err log replace

perf: dataset openapi

feat: session

fix: retry input error

feat: 468 doc

sub page

feat: standard sub

perf: rerank tip

perf: rerank tip

perf: api sdk

perf: openapi

sub plan

perf: sub ui

fix: ts

* perf: init log

* fix: variable select

* sub page

* icon

* perf: llm model config

* perf: menu ux

* perf: system store

* perf: publish app name

* fix: init data

* perf: flow edit ux

* fix: value type format and ux

* fix prompt editor default value (#13)

* fix prompt editor default value

* fix prompt editor update when not focus

* add key with variable

---------

Co-authored-by: Archer <545436317@qq.com>

* fix: value type

* doc

* i18n

* import path

* home page

* perf: mongo session running

* fix: ts

* perf: use toast

* perf: flow edit

* perf: sse response

* slider ui

* fetch error

* fix prompt editor rerender when not focus by key defaultvalue (#14)

* perf: prompt editor

* feat: dataset search concat

* perf: doc

* fix:ts

* perf: doc

* fix json editor onblur value (#15)

* faq

* vector model default config

* ipv6

---------

Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
This commit is contained in:
Archer
2024-02-01 21:57:41 +08:00
committed by GitHub
parent fc19c4cf09
commit 34602b25df
285 changed files with 10345 additions and 11223 deletions

View File

@@ -1 +0,0 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1700746289796" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="44851" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M939.795692 421.415385a248.832 248.832 0 0 0-21.385846-204.386462 251.667692 251.667692 0 0 0-271.064615-120.753231 248.832 248.832 0 0 0-187.687385-83.672615 251.687385 251.687385 0 0 0-240.088615 174.257231 248.910769 248.910769 0 0 0-166.4 120.713846 251.707077 251.707077 0 0 0 30.956307 295.108923 248.832 248.832 0 0 0 21.385847 204.386461 251.687385 251.687385 0 0 0 271.064615 120.753231 248.832 248.832 0 0 0 187.687385 83.672616 251.687385 251.687385 0 0 0 240.167384-174.355693 248.910769 248.910769 0 0 0 166.4-120.713846A251.707077 251.707077 0 0 0 939.795692 421.415385zM564.342154 946.195692a186.663385 186.663385 0 0 1-119.827692-43.323077c1.516308-0.827077 4.174769-2.284308 5.907692-3.347692l198.892308-114.884923a32.334769 32.334769 0 0 0 16.344615-28.297846V475.943385l84.066461 48.541538a2.993231 2.993231 0 0 1 1.634462 2.304v232.211692a187.431385 187.431385 0 0 1-187.017846 187.195077z m-402.195692-171.776a186.564923 186.564923 0 0 1-22.331077-125.44c1.476923 0.886154 4.056615 2.461538 5.907692 3.524923l198.892308 114.884923a32.374154 32.374154 0 0 0 32.669538 0l242.825846-140.20923v97.083077a3.012923 3.012923 0 0 1-1.201231 2.579692l-201.058461 116.086154a187.392 187.392 0 0 1-255.704615-68.509539z m-52.322462-434.195692a186.505846 186.505846 0 0 1 97.437538-82.077538c0 1.713231-0.098462 4.745846-0.098461 6.852923v229.769846a32.315077 32.315077 0 0 0 16.324923 28.278154L466.313846 663.236923l-84.066461 48.541539a3.012923 3.012923 0 0 1-2.835693 0.256l-201.078154-116.184616a187.392 187.392 0 0 1-68.509538-255.625846z m690.688 160.728615l-242.825846-140.20923 84.066461-48.521847a3.012923 3.012923 0 0 1 2.835693-0.256l201.078154 116.086154a187.234462 187.234462 0 0 1-28.928 337.821539V529.230769a32.295385 32.295385 0 0 0-16.226462-28.278154zM884.184615 375.020308c-1.476923-0.905846-4.056615-2.461538-5.907692-3.524923l-198.892308-114.884923a32.413538 32.413538 0 0 0-32.669538 0l-242.825846 140.20923v-97.083077a3.012923 3.012923 0 0 1 1.201231-2.579692l201.058461-115.987692A187.214769 187.214769 0 0 1 884.184615 375.020308z m-526.00123 173.036307l-84.086154-48.541538a2.993231 2.993231 0 0 1-1.634462-2.304V264.999385a187.214769 187.214769 0 0 1 307.003077-143.753847c-1.516308 0.827077-4.155077 2.284308-5.907692 3.347693l-198.892308 114.884923a32.315077 32.315077 0 0 0-16.344615 28.278154z m45.666461-98.461538L512 387.131077l108.150154 62.424615v124.888616L512 636.868923l-108.150154-62.424615z" fill="#202123" p-id="44852"></path></svg>

Before

Width:  |  Height:  |  Size: 2.8 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1706771092322" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5411" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><path d="M861.045651 64.447824 162.614611 64.447824c-54.376445 0-98.455359 44.079938-98.455359 98.456383l0 698.430016c0 54.376445 44.079938 98.456383 98.455359 98.456383l698.430016 0c54.376445 0 98.456383-44.079938 98.456383-98.456383L959.50101 162.904207C959.502034 108.528785 915.422096 64.447824 861.045651 64.447824zM153.315828 211.438597l172.208107 0c8.748245 11.125385 129.704061 222.88223 129.704061 222.88223l-43.320645 56.170301L291.082518 280.322453 153.315828 280.322453c-19.018146 0-34.441417-12.853749-34.441417-31.67235C118.874411 229.833549 134.297682 211.438597 153.315828 211.438597zM909.225977 513.596358 763.121388 624.062262c-10.277064 10.17064-42.363853 14.696724-52.640917 4.526083l0.004093-86.708827L532.163225 541.879518 325.522911 812.799834 153.314805 812.799834c-19.018146 0-34.441417-18.392906-34.441417-37.21253 0-18.809391 15.423271-31.668257 34.441417-31.668257l137.76669 0L497.721809 472.995661l212.759685 0-0.001023-9.076726 0.004093-94.929046c10.273994-10.169617 42.35976-12.849656 52.636824-2.686179l146.105612 110.471021C919.506111 486.942301 919.506111 503.429811 909.225977 513.596358z" fill="#1296db" p-id="5412"></path></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 572 B

View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 21 20" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd"
d="M4.29301 2.39966C2.82025 2.39966 1.62634 3.59356 1.62634 5.06632V14.9337C1.62634 16.4065 2.82025 17.6004 4.29301 17.6004H17.2776C18.7504 17.6004 19.9443 16.4065 19.9443 14.9337V5.06632C19.9443 3.59357 18.7504 2.39966 17.2776 2.39966H4.29301ZM4.98747 6.74049C4.98747 6.28025 5.36056 5.90715 5.8208 5.90715H8.31228C8.77252 5.90715 9.14561 6.28025 9.14561 6.74049C9.14561 7.20072 8.77252 7.57382 8.31228 7.57382H7.81654V12.4438H8.31228C8.77252 12.4438 9.14561 12.8169 9.14561 13.2771C9.14561 13.7374 8.77252 14.1105 8.31228 14.1105H5.8208C5.36056 14.1105 4.98747 13.7374 4.98747 13.2771C4.98747 12.8169 5.36056 12.4438 5.8208 12.4438H6.31654L6.31654 7.57382H5.8208C5.36056 7.57382 4.98747 7.20072 4.98747 6.74049ZM11.8468 12.6952C11.5213 12.3697 10.9937 12.3697 10.6682 12.6952C10.3428 13.0206 10.3428 13.5482 10.6682 13.8737L10.6741 13.8796C10.9996 14.205 11.5272 14.205 11.8526 13.8796C12.1781 13.5541 12.1781 13.0265 11.8526 12.7011L11.8468 12.6952ZM14.7807 12.6952C14.4553 12.3697 13.9276 12.3697 13.6022 12.6952C13.2768 13.0206 13.2768 13.5482 13.6022 13.8737L13.6081 13.8796C13.9335 14.205 14.4612 14.205 14.7866 13.8796C15.112 13.5541 15.112 13.0265 14.7866 12.7011L14.7807 12.6952Z"
fill="#3370FF" />
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1,117 @@
<svg viewBox="0 0 1440 3888" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1529_3242)">
<rect x="986.26" y="510.279" width="483.77" height="363.42" rx="13.9824" transform="rotate(15 986.26 510.279)"
stroke="url(#paint0_linear_1529_3242)" stroke-width="0.717048" />
<rect x="923.499" y="886.439" width="483.77" height="363.42" rx="13.9824" transform="rotate(15 923.499 886.439)"
stroke="url(#paint1_linear_1529_3242)" stroke-width="0.717048" />
<rect x="1088.08" y="130.271" width="483.77" height="363.42" rx="13.9824" transform="rotate(15 1088.08 130.271)"
stroke="url(#paint2_linear_1529_3242)" stroke-width="0.717048" />
<rect x="416.019" y="653.422" width="483.77" height="363.42" rx="13.9824" transform="rotate(15 416.019 653.422)"
stroke="url(#paint3_linear_1529_3242)" stroke-width="0.717048" />
<rect x="349.499" y="978.437" width="483.77" height="363.42" rx="13.9824" transform="rotate(15 349.499 978.437)"
stroke="url(#paint4_linear_1529_3242)" stroke-width="0.717048" />
<rect x="517.841" y="273.416" width="483.77" height="363.42" rx="13.9824" transform="rotate(15 517.841 273.416)"
stroke="url(#paint5_linear_1529_3242)" stroke-width="0.717048" />
<rect x="619.664" y="-106.592" width="483.77" height="341.137" rx="13.9824"
transform="rotate(15 619.664 -106.592)" stroke="url(#paint6_linear_1529_3242)" stroke-width="0.717048" />
<rect x="-125.501" y="689.381" width="483.77" height="363.42" rx="13.9824"
transform="rotate(15 -125.501 689.381)" stroke="url(#paint7_linear_1529_3242)" stroke-width="0.717048" />
<rect x="-23.6781" y="309.373" width="483.77" height="363.42" rx="13.9824"
transform="rotate(15 -23.6781 309.373)" stroke="url(#paint8_linear_1529_3242)" stroke-width="0.717048" />
<rect x="78.1443" y="-70.6332" width="483.77" height="363.42" rx="13.9824"
transform="rotate(15 78.1443 -70.6332)" stroke="url(#paint9_linear_1529_3242)" stroke-width="0.717048" />
<g filter="url(#filter0_f_1529_3242)">
<path
d="M1299.4 236.263C1273.92 -58.7703 1292.79 -316.494 1659.87 -519.399L2251.84 551.545L1045.21 1218.52C1022.06 1228.14 991.901 1180.45 1030.53 1003.12C1078.82 781.445 1324.88 531.296 1299.4 236.263Z"
fill="url(#paint10_linear_1529_3242)" fill-opacity="0.35" />
</g>
<g filter="url(#filter1_f_1529_3242)">
<path
d="M1114.05 72.4481C1088.57 -222.585 1393.67 -224.671 1760.75 -427.575L1615.29 697.061C1615.29 697.061 1499.66 1026.83 992.597 1317.14C943.478 1345.26 752.396 1398.55 495.322 1448.95C461.43 1481.9 423.174 1517.54 379.994 1556.11C276.748 1648.32 23.0323 1890.35 0.935006 2092.17C-36.7924 2436.75 -452.753 1780.5 -340.95 2006.57C-170.001 2352.24 -248.22 2754.86 -923.871 1975.75C-1249 1600.83 -1648.1 1384.37 -1817.79 1305.74C-1938.02 1260.94 -1917.51 1259.55 -1817.79 1305.74C-1717.43 1343.14 -1519 1410.79 -1186.7 1506.26C-745.377 1633.05 -1.69338 1546.39 495.322 1448.95C694.196 1255.58 742.848 1154.8 754.831 1099.79C803.117 878.115 1139.53 367.481 1114.05 72.4481Z"
fill="url(#paint11_linear_1529_3242)" fill-opacity="0.4" />
</g>
</g>
<defs>
<filter id="filter0_f_1529_3242" x="829.097" y="-702.298" width="1605.64" height="2104.89"
filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
<feGaussianBlur stdDeviation="91.45" result="effect1_foregroundBlur_1529_3242" />
</filter>
<filter id="filter1_f_1529_3242" x="-2083.35" y="-610.476" width="4026.99" height="3217.24"
filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix" />
<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
<feGaussianBlur stdDeviation="91.45" result="effect1_foregroundBlur_1529_3242" />
</filter>
<linearGradient id="paint0_linear_1529_3242" x1="1228.25" y1="509.84" x2="1228.25" y2="873.977"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.2" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint1_linear_1529_3242" x1="1165.49" y1="886" x2="1165.49" y2="1250.14"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.2" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint2_linear_1529_3242" x1="1330.07" y1="129.832" x2="1330.07" y2="493.969"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.2" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint3_linear_1529_3242" x1="658.009" y1="652.982" x2="658.009" y2="1017.12"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.1" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint4_linear_1529_3242" x1="591.489" y1="977.998" x2="641.285" y2="1265.2"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.2" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint5_linear_1529_3242" x1="759.831" y1="272.977" x2="759.831" y2="637.113"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.1" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint6_linear_1529_3242" x1="861.654" y1="-107.031" x2="861.654" y2="234.823"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.2" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint7_linear_1529_3242" x1="116.489" y1="688.941" x2="162.837" y2="1231.8"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.2" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint8_linear_1529_3242" x1="218.312" y1="308.934" x2="218.312" y2="673.07"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.15" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint9_linear_1529_3242" x1="253.832" y1="-102.612" x2="344.766" y2="364.261"
gradientUnits="userSpaceOnUse">
<stop stop-color="#336FFF" stop-opacity="0.2" />
<stop offset="1" stop-color="#336FFF" stop-opacity="0" />
</linearGradient>
<linearGradient id="paint10_linear_1529_3242" x1="1156.96" y1="-159.622" x2="1812.4" y2="131.08"
gradientUnits="userSpaceOnUse">
<stop offset="0.153575" stop-color="#CAECFF" stop-opacity="0.9" />
<stop offset="0.4375" stop-color="#ACBEFF" />
<stop offset="0.703125" stop-color="#618DFF" />
<stop offset="0.833333" stop-color="#628EFF" />
<stop offset="1" stop-color="#0058FF" />
</linearGradient>
<linearGradient id="paint11_linear_1529_3242" x1="1257.84" y1="-67.7694" x2="1913.28" y2="222.933"
gradientUnits="userSpaceOnUse">
<stop offset="0.153575" stop-color="#CAD9FF" stop-opacity="0.9" />
<stop offset="0.4375" stop-color="#ACC8FF" />
<stop offset="0.703125" stop-color="#61A0FF" />
<stop offset="0.833333" stop-color="#3B7DFF" />
<stop offset="1" stop-color="#0058FF" />
</linearGradient>
<clipPath id="clip0_1529_3242">
<rect width="1440" height="3888" fill="white" />
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 8.2 KiB