mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-08-02 00:28:00 +00:00
feat(RAG): support knowledgeSpace custom retrieve strategy (#2842)
This commit is contained in:
parent
934229c8ad
commit
bcb4eb3983
@ -126,6 +126,17 @@ def space_delete(request: KnowledgeSpaceRequest):
|
||||
return Result.failed(code="E000X", msg=f"space delete error {e}")
|
||||
|
||||
|
||||
@router.post("/knowledge/retrieve_strategy_list")
|
||||
async def retrieve_strategy_list():
|
||||
try:
|
||||
res = await blocking_func_to_async(
|
||||
get_executor(), knowledge_space_service.get_retrieve_strategy_list
|
||||
)
|
||||
return Result.succ(res)
|
||||
except Exception as e:
|
||||
return Result.failed(code="E000X", msg=f"get retrieve strategy list error {e}")
|
||||
|
||||
|
||||
@router.post("/knowledge/{space_id}/arguments")
|
||||
async def arguments(space_id: str):
|
||||
logger.info(f"/knowledge/{space_id}/arguments params: {space_id}")
|
||||
|
@ -3,7 +3,7 @@ import logging
|
||||
import re
|
||||
import timeit
|
||||
from datetime import datetime
|
||||
from typing import List
|
||||
from typing import Dict, List
|
||||
|
||||
from dbgpt._private.config import Config
|
||||
from dbgpt.component import ComponentType
|
||||
@ -641,3 +641,14 @@ class KnowledgeService:
|
||||
}
|
||||
)
|
||||
return res
|
||||
|
||||
def get_retrieve_strategy_list(self) -> List[Dict]:
|
||||
"""get retrieve model list
|
||||
retrieve strategy: dbgpt.rag.retriever.base.RetrieverStrategy
|
||||
"""
|
||||
return [
|
||||
{"name": "SEMANTIC", "name_cn": "语义检索", "value": "SEMANTIC"},
|
||||
{"name": "KEYWORD", "name_cn": "全文检索", "value": "KEYWORD"},
|
||||
{"name": "Tree", "name_cn": "树形检索", "value": "Tree"},
|
||||
{"name": "HYBRID", "name_cn": "混合检索", "value": "HYBRID"},
|
||||
]
|
||||
|
@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="icon" href="/favicon.ico"/><meta name="description" content="Revolutionizing Database Interactions with Private LLM Technology"/><meta property="og:description" content="eosphoros-ai"/><meta property="og:title" content="DB-GPT"/><link rel="preload" href="/_next/static/css/c09ab2c056586552.css" as="style"/><link rel="stylesheet" href="/_next/static/css/c09ab2c056586552.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-0026ba7f9cd5bba9.js" defer=""></script><script src="/_next/static/chunks/framework-8b06d32cbb857e0e.js" defer=""></script><script src="/_next/static/chunks/main-6c4c7f5b8c9b1320.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b5031b53afa0df7e.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8095ba9e1bf12f30.js" defer=""></script><script src="/_next/static/gv0k09BrvWkKGZ4Em_Hmf/_buildManifest.js" defer=""></script><script src="/_next/static/gv0k09BrvWkKGZ4Em_Hmf/_ssgManifest.js" defer=""></script><link rel="stylesheet" href="/_next/static/css/antd-output/antd.min.7d5365b5.css"/></head><body><div id="__next"><div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"gv0k09BrvWkKGZ4Em_Hmf","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="icon" href="/favicon.ico"/><meta name="description" content="Revolutionizing Database Interactions with Private LLM Technology"/><meta property="og:description" content="eosphoros-ai"/><meta property="og:title" content="DB-GPT"/><link rel="preload" href="/_next/static/css/c09ab2c056586552.css" as="style"/><link rel="stylesheet" href="/_next/static/css/c09ab2c056586552.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-8d3a6e27a44f1596.js" defer=""></script><script src="/_next/static/chunks/framework-8b06d32cbb857e0e.js" defer=""></script><script src="/_next/static/chunks/main-6c4c7f5b8c9b1320.js" defer=""></script><script src="/_next/static/chunks/pages/_app-33e8b024c30a307f.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8095ba9e1bf12f30.js" defer=""></script><script src="/_next/static/XdVCfsqb08x2KqO0pf_us/_buildManifest.js" defer=""></script><script src="/_next/static/XdVCfsqb08x2KqO0pf_us/_ssgManifest.js" defer=""></script><link rel="stylesheet" href="/_next/static/css/antd-output/antd.min.7d5365b5.css"/></head><body><div id="__next"><div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"XdVCfsqb08x2KqO0pf_us","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="icon" href="/favicon.ico"/><meta name="description" content="Revolutionizing Database Interactions with Private LLM Technology"/><meta property="og:description" content="eosphoros-ai"/><meta property="og:title" content="DB-GPT"/><link rel="preload" href="/_next/static/css/c09ab2c056586552.css" as="style"/><link rel="stylesheet" href="/_next/static/css/c09ab2c056586552.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-0026ba7f9cd5bba9.js" defer=""></script><script src="/_next/static/chunks/framework-8b06d32cbb857e0e.js" defer=""></script><script src="/_next/static/chunks/main-6c4c7f5b8c9b1320.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b5031b53afa0df7e.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8095ba9e1bf12f30.js" defer=""></script><script src="/_next/static/gv0k09BrvWkKGZ4Em_Hmf/_buildManifest.js" defer=""></script><script src="/_next/static/gv0k09BrvWkKGZ4Em_Hmf/_ssgManifest.js" defer=""></script><link rel="stylesheet" href="/_next/static/css/antd-output/antd.min.7d5365b5.css"/></head><body><div id="__next"><div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"gv0k09BrvWkKGZ4Em_Hmf","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="icon" href="/favicon.ico"/><meta name="description" content="Revolutionizing Database Interactions with Private LLM Technology"/><meta property="og:description" content="eosphoros-ai"/><meta property="og:title" content="DB-GPT"/><link rel="preload" href="/_next/static/css/c09ab2c056586552.css" as="style"/><link rel="stylesheet" href="/_next/static/css/c09ab2c056586552.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-8d3a6e27a44f1596.js" defer=""></script><script src="/_next/static/chunks/framework-8b06d32cbb857e0e.js" defer=""></script><script src="/_next/static/chunks/main-6c4c7f5b8c9b1320.js" defer=""></script><script src="/_next/static/chunks/pages/_app-33e8b024c30a307f.js" defer=""></script><script src="/_next/static/chunks/pages/_error-8095ba9e1bf12f30.js" defer=""></script><script src="/_next/static/XdVCfsqb08x2KqO0pf_us/_buildManifest.js" defer=""></script><script src="/_next/static/XdVCfsqb08x2KqO0pf_us/_ssgManifest.js" defer=""></script><link rel="stylesheet" href="/_next/static/css/antd-output/antd.min.7d5365b5.css"/></head><body><div id="__next"><div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"XdVCfsqb08x2KqO0pf_us","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8453],{27496:function(e,t,c){c.d(t,{Z:function(){return s}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},l=c(13401),s=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},94668:function(e,t,c){c.d(t,{Z:function(){return s}});var n=c(87462),a=c(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},l=c(13401),s=a.forwardRef(function(e,t){return a.createElement(l.Z,(0,n.Z)({},e,{ref:t,icon:r}))})}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7917],{99790:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/knowledge/graph",function(){return l(77574)}])},77574:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return f}});var a=l(85893),n=l(76212),r=l(71965),i=l(83386),o=l(99397),d=l(74330),u=l(14726),s=l(96486),c=l(11163),b=l(67294);let g=["#5F95FF","#61DDAA","#F6BD16","#7262FD","#78D3F8","#9661BC","#F6903D","#008685","#F08BB4"];var f=function(){let e=(0,c.useRouter)(),[t,l]=(0,b.useState)(null),f=(0,b.useRef)(),[h,p]=(0,b.useState)(!1),v=async()=>{let[e,t]=await (0,n.Vx)((0,n.FT)(y,{limit:500}));l(t)},m=e=>{if(!e)return{nodes:[],edges:[]};let t=e.nodes.map(e=>({id:e.id,data:e})),l=e.edges.map(e=>({source:e.source,target:e.target,data:e}));return{nodes:t,edges:l}},{query:{spaceName:y}}=(0,c.useRouter)();(0,b.useEffect)(()=>{y&&v()},[y]);let k=(0,b.useMemo)(()=>m(t),[t]);(0,b.useEffect)(()=>{if(h&&f.current){let e=(0,s.groupBy)(k.nodes,e=>e.data.communityId),t=[];Object.entries(e).forEach(e=>{var l;let[a,n]=e;if(!a||n.length<2)return;let r=null===(l=f.current)||void 0===l?void 0:l.getElementRenderStyle((0,i.jD)(n[0])).fill;t.push({key:a,type:"bubble-sets",members:n.map(i.jD),stroke:r,fill:r,fillOpacity:.1})}),f.current.setPlugins(e=>[...e,...t])}},[h]);let F=e=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:60,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10;return t+(Math.max(a,Math.min(n,e))-a)/(n-a)*(l-t)})(W(e)),W=e=>e?k.edges.filter(t=>t.source===e||t.target===e).length:0;return t?(0,a.jsx)("div",{className:"p-4 h-full overflow-y-scroll relative px-2",children:(0,a.jsx)(o.P3,{ref:e=>{f.current=e},style:{height:"100%",width:"100%"},options:{data:k,autoFit:"center",node:{style:e=>{var t;let l={size:F((0,i.jD)(e)),label:!0,labelLineWidth:2,labelText:null===(t=e.data)||void 0===t?void 0:t.name,labelFontSize:10,labelBackground:!0,labelBackgroundFill:"#e5e7eb",labelPadding:[0,6],labelBackgroundRadius:4,labelMaxWidth:"400%",labelWordWrap:!0};return!function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,a=(0,s.groupBy)(e.nodes,e=>e.data.communityId),n=Object.values(a).find(e=>e.map(i.jD).includes(t));return n.length>l}(k,(0,i.jD)(e))&&Object.assign(l,{fill:"#b0b0b0"}),l},state:{active:{lineWidth:2,labelWordWrap:!1,labelFontSize:12,labelFontWeight:"bold"},inactive:{label:!1}},palette:{type:"group",field:"communityId",color:g}},edge:{style:{lineWidth:1,stroke:"#e2e2e2",endArrow:!0,endArrowType:"vee",label:!0,labelFontSize:8,labelBackground:!0,labelText:e=>e.data.name,labelBackgroundFill:"#e5e7eb",labelPadding:[0,6],labelBackgroundRadius:4,labelMaxWidth:"60%",labelWordWrap:!0},state:{active:{stroke:"#b0b0b0",labelWordWrap:!1,labelFontSize:10,labelFontWeight:"bold"},inactive:{label:!1}}},behaviors:["drag-canvas","zoom-canvas","drag-element",{type:"hover-activate",degree:1,state:"active",enable:e=>["node"].includes(e.targetType)}],animation:!1,layout:{type:"force",preventOverlap:!0,nodeSize:e=>F(null==e?void 0:e.id),linkDistance:e=>{let{source:t,target:l}=e,a=Math.min(F(t),F(l)),n=Math.min(W(t),W(l));return 1===n?2*a:Math.min(n*a*1.5,700)}},transforms:["process-parallel-edges"]},onReady:()=>{p(!0)},children:(0,a.jsx)(u.ZP,{style:{background:"#fff"},onClick:()=>{e.push("/construct/knowledge")},icon:(0,a.jsx)(r.Z,{}),children:"Back"})})}):(0,a.jsx)(d.Z,{className:"h-full justify-center content-center"})}}},function(e){e.O(0,[3662,7034,4330,4035,2973,4744,5558,9774,2888,179],function(){return e(e.s=99790)}),_N_E=e.O()}]);
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7917],{99790:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/knowledge/graph",function(){return l(77574)}])},77574:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return f}});var a=l(85893),n=l(76212),r=l(71965),i=l(58636),o=l(99397),d=l(74330),u=l(14726),s=l(96486),c=l(11163),b=l(67294);let g=["#5F95FF","#61DDAA","#F6BD16","#7262FD","#78D3F8","#9661BC","#F6903D","#008685","#F08BB4"];var f=function(){let e=(0,c.useRouter)(),[t,l]=(0,b.useState)(null),f=(0,b.useRef)(),[h,p]=(0,b.useState)(!1),v=async()=>{let[e,t]=await (0,n.Vx)((0,n.FT)(y,{limit:500}));l(t)},m=e=>{if(!e)return{nodes:[],edges:[]};let t=e.nodes.map(e=>({id:e.id,data:e})),l=e.edges.map(e=>({source:e.source,target:e.target,data:e}));return{nodes:t,edges:l}},{query:{spaceName:y}}=(0,c.useRouter)();(0,b.useEffect)(()=>{y&&v()},[y]);let k=(0,b.useMemo)(()=>m(t),[t]);(0,b.useEffect)(()=>{if(h&&f.current){let e=(0,s.groupBy)(k.nodes,e=>e.data.communityId),t=[];Object.entries(e).forEach(e=>{var l;let[a,n]=e;if(!a||n.length<2)return;let r=null===(l=f.current)||void 0===l?void 0:l.getElementRenderStyle((0,i.jD)(n[0])).fill;t.push({key:a,type:"bubble-sets",members:n.map(i.jD),stroke:r,fill:r,fillOpacity:.1})}),f.current.setPlugins(e=>[...e,...t])}},[h]);let F=e=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:24,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:60,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:10;return t+(Math.max(a,Math.min(n,e))-a)/(n-a)*(l-t)})(W(e)),W=e=>e?k.edges.filter(t=>t.source===e||t.target===e).length:0;return t?(0,a.jsx)("div",{className:"p-4 h-full overflow-y-scroll relative px-2",children:(0,a.jsx)(o.P3,{ref:e=>{f.current=e},style:{height:"100%",width:"100%"},options:{data:k,autoFit:"center",node:{style:e=>{var t;let l={size:F((0,i.jD)(e)),label:!0,labelLineWidth:2,labelText:null===(t=e.data)||void 0===t?void 0:t.name,labelFontSize:10,labelBackground:!0,labelBackgroundFill:"#e5e7eb",labelPadding:[0,6],labelBackgroundRadius:4,labelMaxWidth:"400%",labelWordWrap:!0};return!function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,a=(0,s.groupBy)(e.nodes,e=>e.data.communityId),n=Object.values(a).find(e=>e.map(i.jD).includes(t));return n.length>l}(k,(0,i.jD)(e))&&Object.assign(l,{fill:"#b0b0b0"}),l},state:{active:{lineWidth:2,labelWordWrap:!1,labelFontSize:12,labelFontWeight:"bold"},inactive:{label:!1}},palette:{type:"group",field:"communityId",color:g}},edge:{style:{lineWidth:1,stroke:"#e2e2e2",endArrow:!0,endArrowType:"vee",label:!0,labelFontSize:8,labelBackground:!0,labelText:e=>e.data.name,labelBackgroundFill:"#e5e7eb",labelPadding:[0,6],labelBackgroundRadius:4,labelMaxWidth:"60%",labelWordWrap:!0},state:{active:{stroke:"#b0b0b0",labelWordWrap:!1,labelFontSize:10,labelFontWeight:"bold"},inactive:{label:!1}}},behaviors:["drag-canvas","zoom-canvas","drag-element",{type:"hover-activate",degree:1,state:"active",enable:e=>["node"].includes(e.targetType)}],animation:!1,layout:{type:"force",preventOverlap:!0,nodeSize:e=>F(null==e?void 0:e.id),linkDistance:e=>{let{source:t,target:l}=e,a=Math.min(F(t),F(l)),n=Math.min(W(t),W(l));return 1===n?2*a:Math.min(n*a*1.5,700)}},transforms:["process-parallel-edges"]},onReady:()=>{p(!0)},children:(0,a.jsx)(u.ZP,{style:{background:"#fff"},onClick:()=>{e.push("/construct/knowledge")},icon:(0,a.jsx)(r.Z,{}),children:"Back"})})}):(0,a.jsx)(d.Z,{className:"h-full justify-center content-center"})}}},function(e){e.O(0,[3662,7034,4330,6277,2973,4744,5558,9774,2888,179],function(){return e(e.s=99790)}),_N_E=e.O()}]);
|
@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8445,8453],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},i=n(13401),o=r.forwardRef(function(t,e){return r.createElement(i.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},i=n(13401),o=r.forwardRef(function(t,e){return r.createElement(i.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},96696:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat",function(){return n(73913)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),i=n.n(a),o=n(67294);e.Z=(0,o.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,o.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(i(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=96696)}),_N_E=t.O()}]);
|
@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8445],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},i=n(13401),o=r.forwardRef(function(t,e){return r.createElement(i.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},i=n(13401),o=r.forwardRef(function(t,e){return r.createElement(i.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},96696:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat",function(){return n(73913)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),i=n.n(a),o=n(67294);e.Z=(0,o.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,o.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(i(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=96696)}),_N_E=t.O()}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1244,8453],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},85335:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Header",function(){return n(56397)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,i.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=85335)}),_N_E=t.O()}]);
|
@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1244],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},85335:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Header",function(){return n(56397)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,i.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=85335)}),_N_E=t.O()}]);
|
@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3882,8453],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},69487:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/InputContainer",function(){return n(74638)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,i.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=69487)}),_N_E=t.O()}]);
|
@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3882],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},69487:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/InputContainer",function(){return n(74638)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,i.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=69487)}),_N_E=t.O()}]);
|
@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2767],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},96052:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ModelSelector",function(){return n(7001)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,l=(0,i.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:l,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=96052)}),_N_E=t.O()}]);
|
@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2767,8453],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},96052:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ModelSelector",function(){return n(7001)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,l=(0,i.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:l,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=96052)}),_N_E=t.O()}]);
|
@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5247],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},44813:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Resource",function(){return n(73749)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,i.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=44813)}),_N_E=t.O()}]);
|
@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5247,8453],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var c=n(87462),r=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=r.forwardRef(function(t,e){return r.createElement(o.Z,(0,c.Z)({},t,{ref:e,icon:a}))})},44813:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Resource",function(){return n(73749)}])},2440:function(t,e,n){"use strict";var c=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(c.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var c=n(85893),r=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,i.useMemo)(()=>(0,r.ab)(a||"huggingface"),[a]);return a?(0,c.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=44813)}),_N_E=t.O()}]);
|
@ -0,0 +1 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9622,8453],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(87462),c=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=c.forwardRef(function(t,e){return c.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(87462),c=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=c.forwardRef(function(t,e){return c.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:a}))})},59843:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Thermometer",function(){return n(97109)}])},2440:function(t,e,n){"use strict";var r=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(r.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,i.useMemo)(()=>(0,c.ab)(a||"huggingface"),[a]);return a?(0,r.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=59843)}),_N_E=t.O()}]);
|
@ -1 +0,0 @@
|
||||
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9622],{27496:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(87462),c=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),i=c.forwardRef(function(t,e){return c.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:a}))})},94668:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var r=n(87462),c=n(67294),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),i=c.forwardRef(function(t,e){return c.createElement(o.Z,(0,r.Z)({},t,{ref:e,icon:a}))})},59843:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Thermometer",function(){return n(97109)}])},2440:function(t,e,n){"use strict";var r=n(25519);e.Z=()=>{var t;return JSON.parse(null!==(t=localStorage.getItem(r.C9))&&void 0!==t?t:"")}},39718:function(t,e,n){"use strict";var r=n(85893),c=n(19284),a=n(25675),o=n.n(a),i=n(67294);e.Z=(0,i.memo)(t=>{let{width:e,height:n,model:a}=t,u=(0,i.useMemo)(()=>(0,c.ab)(a||"huggingface"),[a]);return a?(0,r.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:e||24,height:n||24,src:u,alt:"llm",priority:!0}):null})}},function(t){t.O(0,[3662,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,2480,7410,7124,6231,8424,7249,3913,9774,2888,179],function(){return t(t.s=59843)}),_N_E=t.O()}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user