Merge remote-tracking branch 'origin/dev_ty_06_end' into dev_ty_06_end

This commit is contained in:
tuyang.yhj 2023-07-06 10:25:34 +08:00
commit c909ba0b42
73 changed files with 307 additions and 162 deletions

View File

@ -11,7 +11,7 @@ import {
Link
} from '@/lib/mui'
import { Popover, Pagination } from 'antd'
import { sendSpaceGetRequest, sendSpacePostRequest, sendSpaceUploadPostRequest } from '@/utils/request';
import { sendSpacePostRequest } from '@/utils/request'
const page_size = 20
const ChunkList = () => {
@ -24,11 +24,14 @@ const ChunkList = () => {
const [chunkList, setChunkList] = useState<any>([])
useEffect(() => {
async function fetchChunks() {
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/chunk/list`, {
document_id: documentId,
page: 1,
page_size
})
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/chunk/list`,
{
document_id: documentId,
page: 1,
page_size
}
)
if (data.success) {
setChunkList(data.data.data)
setTotal(data.data.total)
@ -141,11 +144,14 @@ const ChunkList = () => {
current={current}
total={total}
onChange={async (page) => {
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/chunk/list`, {
document_id: documentId,
page,
page_size
})
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/chunk/list`,
{
document_id: documentId,
page,
page_size
}
)
if (data.success) {
setChunkList(data.data.data)
setTotal(data.data.total)

View File

@ -21,11 +21,14 @@ import {
} from '@/lib/mui'
import moment from 'moment'
import { InboxOutlined } from '@ant-design/icons'
import CheckCircleOutlinedIcon from '@mui/icons-material/CheckCircleOutlined';
import CachedIcon from '@mui/icons-material/Cached';
import CheckCircleOutlinedIcon from '@mui/icons-material/CheckCircleOutlined'
import CachedIcon from '@mui/icons-material/Cached'
import type { UploadProps } from 'antd'
import { Upload, Pagination, Popover, message } from 'antd'
import { sendSpaceGetRequest, sendSpacePostRequest, sendSpaceUploadPostRequest } from '@/utils/request';
import {
sendSpacePostRequest,
sendSpaceUploadPostRequest
} from '@/utils/request'
const { Dragger } = Upload
const Item = styled(Sheet)(({ theme }) => ({
@ -95,10 +98,13 @@ const Documents = () => {
}
useEffect(() => {
async function fetchDocuments() {
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/document/list`, {
page: 1,
page_size
})
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/document/list`,
{
page: 1,
page_size
}
)
if (data.success) {
setDocuments(data.data.data)
setTotal(data.data.total)
@ -235,9 +241,12 @@ const Documents = () => {
marginRight: '20px'
}}
onClick={async () => {
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/document/sync`, {
doc_ids: [row.id]
})
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/document/sync`,
{
doc_ids: [row.id]
}
)
if (data.success) {
message.success('success')
} else {
@ -245,7 +254,8 @@ const Documents = () => {
}
}}
>
Synch<CachedIcon />
Synch
<CachedIcon />
</Button>
<Button
variant="outlined"
@ -278,10 +288,13 @@ const Documents = () => {
current={current}
total={total}
onChange={async (page) => {
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/document/list`, {
page,
page_size
})
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/document/list`,
{
page,
page_size
}
)
if (data.success) {
setDocuments(data.data.data)
setTotal(data.data.total)
@ -324,7 +337,11 @@ const Documents = () => {
color: activeStep === index ? '#2AA3FF' : ''
}}
>
{index < activeStep ? <CheckCircleOutlinedIcon /> : `${index + 1}.`}
{index < activeStep ? (
<CheckCircleOutlinedIcon />
) : (
`${index + 1}.`
)}
{`${item}`}
</Item>
))}
@ -455,23 +472,32 @@ const Documents = () => {
message.error('Please input the Web Page URL')
return
}
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/document/add`, {
doc_name: documentName,
content: webPageUrl,
doc_type: 'URL'
})
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/document/add`,
{
doc_name: documentName,
content: webPageUrl,
doc_type: 'URL'
}
)
data.success &&
synchChecked &&
sendSpacePostRequest(`/knowledge/${spaceName}/document/sync`, {
doc_ids: [data.data]
})
sendSpacePostRequest(
`/knowledge/${spaceName}/document/sync`,
{
doc_ids: [data.data]
}
)
if (data.success) {
message.success('success')
setIsAddDocumentModalShow(false)
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/document/list`, {
page: current,
page_size
})
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/document/list`,
{
page: current,
page_size
}
)
if (data.success) {
setDocuments(data.data.data)
setTotal(data.data.total)
@ -489,19 +515,28 @@ const Documents = () => {
formData.append('doc_name', documentName)
formData.append('doc_file', originFileObj)
formData.append('doc_type', 'DOCUMENT')
const data = await sendSpaceUploadPostRequest(`/knowledge/${spaceName}/document/upload`, formData);
const data = await sendSpaceUploadPostRequest(
`/knowledge/${spaceName}/document/upload`,
formData
)
data.success &&
synchChecked &&
sendSpacePostRequest(`/knowledge/${spaceName}/document/sync`, {
doc_ids: [data.data]
})
sendSpacePostRequest(
`/knowledge/${spaceName}/document/sync`,
{
doc_ids: [data.data]
}
)
if (data.success) {
message.success('success')
setIsAddDocumentModalShow(false)
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/document/list`, {
page: current,
page_size
})
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/document/list`,
{
page: current,
page_size
}
)
if (data.success) {
setDocuments(data.data.data)
setTotal(data.data.total)
@ -515,24 +550,33 @@ const Documents = () => {
message.error('Please input the text')
return
}
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/document/add`, {
doc_name: documentName,
source: textSource,
content: text,
doc_type: 'TEXT'
})
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/document/add`,
{
doc_name: documentName,
source: textSource,
content: text,
doc_type: 'TEXT'
}
)
data.success &&
synchChecked &&
sendSpacePostRequest(`/knowledge/${spaceName}/document/sync`, {
doc_ids: [data.data]
})
sendSpacePostRequest(
`/knowledge/${spaceName}/document/sync`,
{
doc_ids: [data.data]
}
)
if (data.success) {
message.success('success')
setIsAddDocumentModalShow(false)
const data = await sendSpacePostRequest(`/knowledge/${spaceName}/document/list`, {
page: current,
page_size
});
const data = await sendSpacePostRequest(
`/knowledge/${spaceName}/document/list`,
{
page: current,
page_size
}
)
if (data.success) {
setDocuments(data.data.data)
setTotal(data.data.total)

View File

@ -4,25 +4,26 @@ import { useRouter } from 'next/navigation'
import React, { useState, useEffect } from 'react'
import { InboxOutlined } from '@ant-design/icons'
import CheckCircleOutlinedIcon from '@mui/icons-material/CheckCircleOutlined'
import ContentPasteSearchOutlinedIcon from '@mui/icons-material/ContentPasteSearchOutlined';
import ContentPasteSearchOutlinedIcon from '@mui/icons-material/ContentPasteSearchOutlined'
import type { UploadProps } from 'antd'
import { message, Upload } from 'antd'
import {
useColorScheme,
Modal,
Button,
Table,
Sheet,
Stack,
Box,
Input,
Textarea,
Chip,
Switch,
Typography,
styled
} from '@/lib/mui'
import { sendSpaceGetRequest, sendSpacePostRequest, sendSpaceUploadPostRequest } from '@/utils/request';
import {
sendSpacePostRequest,
sendSpaceUploadPostRequest
} from '@/utils/request'
const { Dragger } = Upload
@ -94,7 +95,7 @@ const Index = () => {
}
useEffect(() => {
async function fetchData() {
const data = await sendSpacePostRequest('/knowledge/space/list')
const data = await sendSpacePostRequest('/knowledge/space/list', {})
if (data.success) {
setKnowledgeSpaceList(data.data)
}
@ -105,19 +106,22 @@ const Index = () => {
<Box
sx={{
width: '100%',
height: '100%',
height: '100%'
}}
className='bg-[#F1F2F5] dark:bg-[#212121]'
className="bg-[#F1F2F5] dark:bg-[#212121]"
>
<Box className="page-body p-4" sx={{
'&': {
height: '90%',
overflow: 'auto',
},
'&::-webkit-scrollbar': {
display: 'none'
}
}}>
<Box
className="page-body p-4"
sx={{
'&': {
height: '90%',
overflow: 'auto'
},
'&::-webkit-scrollbar': {
display: 'none'
}
}}
>
<Stack
direction="row"
justifyContent="space-between"
@ -134,7 +138,7 @@ const Index = () => {
sx={{
display: 'flex',
alignContent: 'start',
boxSizing: "content-box",
boxSizing: 'content-box',
width: '390px',
height: '79px',
padding: '33px 20px 40px',
@ -148,11 +152,12 @@ const Index = () => {
cursor: 'pointer',
borderRadius: '16px',
'&: hover': {
boxShadow: '0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);'
boxShadow:
'0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);'
}
}}
onClick={() => setIsAddKnowledgeSpaceModalShow(true)}
className='bg-[#E9EBEE] dark:bg-[#484848]'
className="bg-[#E9EBEE] dark:bg-[#484848]"
>
<Box
sx={{
@ -166,12 +171,16 @@ const Index = () => {
fontWeight: '300',
color: '#2AA3FF'
}}
>+</Box>
>
+
</Box>
<Box
sx={{
fontSize: '16px',
fontSize: '16px'
}}
>space</Box>
>
space
</Box>
</Box>
{knowledgeSpaceList.map((item: any, index: number) => (
<Box
@ -186,24 +195,32 @@ const Index = () => {
cursor: 'pointer',
borderRadius: '10px',
'&: hover': {
boxShadow: '0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);'
boxShadow:
'0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);'
}
}}
onClick={() => {
router.push(`/datastores/documents?name=${item.name}`);
router.push(`/datastores/documents?name=${item.name}`)
}}
className='bg-[#FFFFFF] dark:bg-[#484848]'
className="bg-[#FFFFFF] dark:bg-[#484848]"
>
<Box sx={{
fontSize: '18px',
marginBottom: '10px',
fontWeight: 'bold',
color: 'black'
}}><ContentPasteSearchOutlinedIcon sx={{ marginRight: '5px', color: '#2AA3FF' }}/>{item.name}</Box>
<Box
sx={{
fontSize: '18px',
marginBottom: '10px',
fontWeight: 'bold',
color: 'black'
}}
>
<ContentPasteSearchOutlinedIcon
sx={{ marginRight: '5px', color: '#2AA3FF' }}
/>
{item.name}
</Box>
<Box
sx={{
display: 'flex',
justifyContent: 'flex-start',
justifyContent: 'flex-start'
}}
>
<Box
@ -217,7 +234,9 @@ const Index = () => {
sx={{
color: '#2AA3FF'
}}
>{item.vector_type}</Box>
>
{item.vector_type}
</Box>
<Box sx={{ fontSize: '12px', color: 'black' }}>Vector</Box>
</Box>
<Box
@ -231,7 +250,9 @@ const Index = () => {
sx={{
color: '#2AA3FF'
}}
>{item.owner}</Box>
>
{item.owner}
</Box>
<Box sx={{ fontSize: '12px', color: 'black' }}>Owner</Box>
</Box>
<Box
@ -245,13 +266,19 @@ const Index = () => {
sx={{
color: '#2AA3FF'
}}
>{item.docs || 0}</Box>
>
{item.docs || 0}
</Box>
<Box sx={{ fontSize: '12px', color: 'black' }}>Docs</Box>
</Box>
</Box>
</Box>
))}
<i></i><i></i><i></i><i></i><i></i>
<i></i>
<i></i>
<i></i>
<i></i>
<i></i>
</Stack>
</Box>
<Modal
@ -333,16 +360,19 @@ const Index = () => {
const data = await sendSpacePostRequest(
`/knowledge/space/add`,
{
name: knowledgeSpaceName,
vector_type: 'Chroma',
owner,
desc: description
name: knowledgeSpaceName,
vector_type: 'Chroma',
owner,
desc: description
}
)
if (data.success) {
message.success('success')
setActiveStep(1)
const data = await sendSpacePostRequest('/knowledge/space/list')
const data = await sendSpacePostRequest(
'/knowledge/space/list',
{}
)
if (data.success) {
setKnowledgeSpaceList(data.data)
}
@ -479,18 +509,24 @@ const Index = () => {
message.error('Please input the Web Page URL')
return
}
const data = await sendSpacePostRequest(`/knowledge/${knowledgeSpaceName}/document/add`, {
doc_name: documentName,
content: webPageUrl,
doc_type: 'URL'
})
const data = await sendSpacePostRequest(
`/knowledge/${knowledgeSpaceName}/document/add`,
{
doc_name: documentName,
content: webPageUrl,
doc_type: 'URL'
}
)
if (data.success) {
message.success('success')
setIsAddKnowledgeSpaceModalShow(false)
synchChecked &&
sendSpacePostRequest(`/knowledge/${knowledgeSpaceName}/document/sync`, {
doc_ids: [data.data]
})
sendSpacePostRequest(
`/knowledge/${knowledgeSpaceName}/document/sync`,
{
doc_ids: [data.data]
}
)
} else {
message.error(data.err_msg || 'failed')
}
@ -504,14 +540,20 @@ const Index = () => {
formData.append('doc_file', originFileObj)
formData.append('doc_type', 'DOCUMENT')
const data = await sendSpaceUploadPostRequest(`/knowledge/${knowledgeSpaceName}/document/upload`, formData);
const data = await sendSpaceUploadPostRequest(
`/knowledge/${knowledgeSpaceName}/document/upload`,
formData
)
if (data.success) {
message.success('success')
setIsAddKnowledgeSpaceModalShow(false)
synchChecked &&
sendSpacePostRequest(`/knowledge/${knowledgeSpaceName}/document/sync`, {
doc_ids: [data.data]
});
sendSpacePostRequest(
`/knowledge/${knowledgeSpaceName}/document/sync`,
{
doc_ids: [data.data]
}
)
} else {
message.error(data.err_msg || 'failed')
}
@ -520,19 +562,25 @@ const Index = () => {
message.error('Please input the text')
return
}
const data = await sendSpacePostRequest(`/knowledge/${knowledgeSpaceName}/document/add`, {
doc_name: documentName,
source: textSource,
content: text,
doc_type: 'TEXT'
})
const data = await sendSpacePostRequest(
`/knowledge/${knowledgeSpaceName}/document/add`,
{
doc_name: documentName,
source: textSource,
content: text,
doc_type: 'TEXT'
}
)
if (data.success) {
message.success('success')
setIsAddKnowledgeSpaceModalShow(false)
synchChecked &&
sendSpacePostRequest(`/knowledge/${knowledgeSpaceName}/document/sync`, {
doc_ids: [data.data]
})
sendSpacePostRequest(
`/knowledge/${knowledgeSpaceName}/document/sync`,
{
doc_ids: [data.data]
}
)
} else {
message.error(data.err_msg || 'failed')
}

View File

@ -69,8 +69,7 @@ export const sendPostRequest = (url: string, body?: any) => {
export const sendSpacePostRequest = (url: string, body?: any) => {
const reqBody = sanitizeBody(body);
return axios.post(url, {
body: reqBody,
return axios.post(url, body, {
headers: DEFAULT_HEADERS
}).then(res => res).catch(err => {
message.error(err);
@ -79,9 +78,7 @@ export const sendSpacePostRequest = (url: string, body?: any) => {
}
export const sendSpaceUploadPostRequest = (url: string, body?: any) => {
return axios.post(url, {
body: body,
}).then(res => res).catch(err => {
return axios.post(url, body).then(res => res).catch(err => {
message.error(err);
Promise.reject(err);
});

View File

@ -31,7 +31,7 @@ class MarkdownEmbedding(SourceEmbedding):
loader = EncodeTextLoader(self.file_path)
if CFG.LANGUAGE == "en":
text_splitter = CharacterTextSplitter(
text_splitter = RecursiveCharacterTextSplitter(
chunk_size=CFG.KNOWLEDGE_CHUNK_SIZE,
chunk_overlap=20,
length_function=len,

View File

@ -4,7 +4,7 @@ from typing import List
from langchain.document_loaders import PyPDFLoader
from langchain.schema import Document
from langchain.text_splitter import SpacyTextSplitter, CharacterTextSplitter, RecursiveCharacterTextSplitter
from langchain.text_splitter import SpacyTextSplitter, RecursiveCharacterTextSplitter
from pilot.configs.config import Config
from pilot.embedding_engine import SourceEmbedding, register
@ -34,7 +34,7 @@ class PDFEmbedding(SourceEmbedding):
# chunk_overlap=100,
# )
if CFG.LANGUAGE == "en":
text_splitter = CharacterTextSplitter(
text_splitter = RecursiveCharacterTextSplitter(
chunk_size=CFG.KNOWLEDGE_CHUNK_SIZE,
chunk_overlap=20,
length_function=len,

View File

@ -4,7 +4,7 @@ from typing import List
from langchain.document_loaders import UnstructuredPowerPointLoader
from langchain.schema import Document
from langchain.text_splitter import SpacyTextSplitter, CharacterTextSplitter, RecursiveCharacterTextSplitter
from langchain.text_splitter import SpacyTextSplitter, RecursiveCharacterTextSplitter
from pilot.configs.config import Config
from pilot.embedding_engine import SourceEmbedding, register
@ -32,7 +32,7 @@ class PPTEmbedding(SourceEmbedding):
# chunk_overlap=200,
# )
if CFG.LANGUAGE == "en":
text_splitter = CharacterTextSplitter(
text_splitter = RecursiveCharacterTextSplitter(
chunk_size=CFG.KNOWLEDGE_CHUNK_SIZE,
chunk_overlap=20,
length_function=len,

View File

@ -3,7 +3,7 @@ from typing import List
from bs4 import BeautifulSoup
from langchain.document_loaders import WebBaseLoader
from langchain.schema import Document
from langchain.text_splitter import CharacterTextSplitter, SpacyTextSplitter, RecursiveCharacterTextSplitter
from langchain.text_splitter import SpacyTextSplitter, RecursiveCharacterTextSplitter
from pilot.configs.config import Config
from pilot.configs.model_config import KNOWLEDGE_CHUNK_SPLIT_SIZE
@ -27,7 +27,7 @@ class URLEmbedding(SourceEmbedding):
"""Load from url path."""
loader = WebBaseLoader(web_path=self.file_path)
if CFG.LANGUAGE == "en":
text_splitter = CharacterTextSplitter(
text_splitter = RecursiveCharacterTextSplitter(
chunk_size=CFG.KNOWLEDGE_CHUNK_SIZE,
chunk_overlap=20,
length_function=len,

View File

@ -4,7 +4,7 @@ from typing import List
from langchain.document_loaders import UnstructuredWordDocumentLoader
from langchain.schema import Document
from langchain.text_splitter import CharacterTextSplitter, SpacyTextSplitter, RecursiveCharacterTextSplitter
from langchain.text_splitter import SpacyTextSplitter, RecursiveCharacterTextSplitter
from pilot.configs.config import Config
from pilot.embedding_engine import SourceEmbedding, register
@ -26,7 +26,7 @@ class WordEmbedding(SourceEmbedding):
"""Load from word path."""
loader = UnstructuredWordDocumentLoader(self.file_path)
if CFG.LANGUAGE == "en":
text_splitter = CharacterTextSplitter(
text_splitter = RecursiveCharacterTextSplitter(
chunk_size=CFG.KNOWLEDGE_CHUNK_SIZE,
chunk_overlap=20,
length_function=len,

View File

@ -1 +1 @@
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-053a725dccea4b75.js" defer=""></script><script src="/_next/static/chunks/framework-43665103d101a22d.js" defer=""></script><script src="/_next/static/chunks/main-03d1ea9262ece8b7.js" defer=""></script><script src="/_next/static/chunks/pages/_app-1f2755172264764d.js" defer=""></script><script src="/_next/static/chunks/pages/_error-f5357f382422dd96.js" defer=""></script><script src="/_next/static/4ef3Zj0tsK1FEAj-0Rw_K/_buildManifest.js" defer=""></script><script src="/_next/static/4ef3Zj0tsK1FEAj-0Rw_K/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"4ef3Zj0tsK1FEAj-0Rw_K","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-053a725dccea4b75.js" defer=""></script><script src="/_next/static/chunks/framework-43665103d101a22d.js" defer=""></script><script src="/_next/static/chunks/main-03d1ea9262ece8b7.js" defer=""></script><script src="/_next/static/chunks/pages/_app-1f2755172264764d.js" defer=""></script><script src="/_next/static/chunks/pages/_error-f5357f382422dd96.js" defer=""></script><script src="/_next/static/LsJAw9wmT3q63aQDzaYhO/_buildManifest.js" defer=""></script><script src="/_next/static/LsJAw9wmT3q63aQDzaYhO/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"LsJAw9wmT3q63aQDzaYhO","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>

View File

@ -1 +1 @@
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-053a725dccea4b75.js" defer=""></script><script src="/_next/static/chunks/framework-43665103d101a22d.js" defer=""></script><script src="/_next/static/chunks/main-03d1ea9262ece8b7.js" defer=""></script><script src="/_next/static/chunks/pages/_app-1f2755172264764d.js" defer=""></script><script src="/_next/static/chunks/pages/_error-f5357f382422dd96.js" defer=""></script><script src="/_next/static/4ef3Zj0tsK1FEAj-0Rw_K/_buildManifest.js" defer=""></script><script src="/_next/static/4ef3Zj0tsK1FEAj-0Rw_K/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"4ef3Zj0tsK1FEAj-0Rw_K","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js"></script><script src="/_next/static/chunks/webpack-053a725dccea4b75.js" defer=""></script><script src="/_next/static/chunks/framework-43665103d101a22d.js" defer=""></script><script src="/_next/static/chunks/main-03d1ea9262ece8b7.js" defer=""></script><script src="/_next/static/chunks/pages/_app-1f2755172264764d.js" defer=""></script><script src="/_next/static/chunks/pages/_error-f5357f382422dd96.js" defer=""></script><script src="/_next/static/LsJAw9wmT3q63aQDzaYhO/_buildManifest.js" defer=""></script><script src="/_next/static/LsJAw9wmT3q63aQDzaYhO/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"LsJAw9wmT3q63aQDzaYhO","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>

View File

@ -0,0 +1 @@
self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-f5357f382422dd96.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

View File

@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()

View File

@ -0,0 +1 @@
self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-f5357f382422dd96.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

View File

@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()

View File

@ -0,0 +1 @@
self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-f5357f382422dd96.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

View File

@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()

View File

@ -0,0 +1 @@
self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-f5357f382422dd96.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

View File

@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()

View File

@ -0,0 +1 @@
self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-f5357f382422dd96.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

View File

@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()

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

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[538],{18885:function(e,t,n){Promise.resolve().then(n.bind(n,26257))},26257:function(e,t,n){"use strict";n.r(t);var r=n(9268),a=n(56008),i=n(86006),c=n(78635),s=n(70900),o=n(44334),l=n(311),d=n(22046),h=n(83192),u=n(23910),g=n(1031),f=n(78915);t.default=()=>{let e=(0,a.useRouter)(),{mode:t}=(0,c.tv)(),n=(0,a.useSearchParams)().get("spacename"),j=(0,a.useSearchParams)().get("documentid"),[m,p]=(0,i.useState)(0),[x,P]=(0,i.useState)(0),[S,_]=(0,i.useState)([]);return(0,i.useEffect)(()=>{(async function(){let e=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:1,page_size:20});e.success&&(_(e.data.data),p(e.data.total),P(e.data.page))})()},[]),(0,r.jsxs)("div",{className:"p-4",children:[(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:(0,r.jsxs)(o.Z,{"aria-label":"breadcrumbs",children:[(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(n))},underline:"hover",color:"neutral",fontSize:"inherit",children:"Documents"},"Knowledge Space"),(0,r.jsx)(d.ZP,{fontSize:"inherit",children:"Chunks"})]})}),(0,r.jsx)("div",{className:"p-4",children:S.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(h.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===t?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:"Name"}),(0,r.jsx)("th",{children:"Content"}),(0,r.jsx)("th",{children:"Meta Data"})]})}),(0,r.jsx)("tbody",{children:S.map(e=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e.doc_name}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:JSON.stringify(e.meta_info||"{}",null,2),trigger:"hover",children:e.meta_info.length>10?"".concat(e.meta_info.slice(0,10),"..."):e.meta_info})})]},e.id))})]}),(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,r.jsx)(g.Z,{defaultPageSize:20,showSizeChanger:!1,current:x,total:m,onChange:async e=>{let t=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:e,page_size:20});t.success&&(_(t.data.data),p(t.data.total),P(t.data.page))},hideOnSinglePage:!0})})]}):(0,r.jsx)(r.Fragment,{})})]})}},78915:function(e,t,n){"use strict";n.d(t,{Tk:function(){return d},Kw:function(){return h},PR:function(){return u},Ej:function(){return g}});var r=n(21628),a=n(24214),i=n(52040);let c=a.Z.create({baseURL:i.env.API_BASE_URL});c.defaults.timeout=1e4,c.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var s=n(84835);let o={"content-type":"application/json"},l=e=>{if(!(0,s.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let n=t[e];"string"==typeof n&&(t[e]=n.trim())}return JSON.stringify(t)},d=(e,t)=>{if(t){let n=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");n&&(e+="?".concat(n))}return c.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let n=l(t);return c.post("/api"+e,{body:n,headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},u=(e,t)=>(l(t),c.post(e,t,{headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})),g=(e,t)=>c.post(e,t).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,106,693,118,440,55,253,769,744],function(){return e(e.s=18885)}),_N_E=e.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[538],{18885:function(e,t,n){Promise.resolve().then(n.bind(n,26257))},26257:function(e,t,n){"use strict";n.r(t);var r=n(9268),a=n(56008),i=n(86006),c=n(78635),s=n(70900),o=n(44334),l=n(311),d=n(22046),h=n(83192),u=n(23910),g=n(1031),f=n(78915);t.default=()=>{let e=(0,a.useRouter)(),{mode:t}=(0,c.tv)(),n=(0,a.useSearchParams)().get("spacename"),j=(0,a.useSearchParams)().get("documentid"),[m,p]=(0,i.useState)(0),[x,P]=(0,i.useState)(0),[b,S]=(0,i.useState)([]);return(0,i.useEffect)(()=>{(async function(){let e=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:1,page_size:20});e.success&&(S(e.data.data),p(e.data.total),P(e.data.page))})()},[]),(0,r.jsxs)("div",{className:"p-4",children:[(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:(0,r.jsxs)(o.Z,{"aria-label":"breadcrumbs",children:[(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(n))},underline:"hover",color:"neutral",fontSize:"inherit",children:"Documents"},"Knowledge Space"),(0,r.jsx)(d.ZP,{fontSize:"inherit",children:"Chunks"})]})}),(0,r.jsx)("div",{className:"p-4",children:b.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(h.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===t?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:"Name"}),(0,r.jsx)("th",{children:"Content"}),(0,r.jsx)("th",{children:"Meta Data"})]})}),(0,r.jsx)("tbody",{children:b.map(e=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e.doc_name}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:JSON.stringify(e.meta_info||"{}",null,2),trigger:"hover",children:e.meta_info.length>10?"".concat(e.meta_info.slice(0,10),"..."):e.meta_info})})]},e.id))})]}),(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,r.jsx)(g.Z,{defaultPageSize:20,showSizeChanger:!1,current:x,total:m,onChange:async e=>{let t=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:e,page_size:20});t.success&&(S(t.data.data),p(t.data.total),P(t.data.page))},hideOnSinglePage:!0})})]}):(0,r.jsx)(r.Fragment,{})})]})}},78915:function(e,t,n){"use strict";n.d(t,{Tk:function(){return d},Kw:function(){return h},PR:function(){return u},Ej:function(){return g}});var r=n(21628),a=n(24214),i=n(52040);let c=a.Z.create({baseURL:i.env.API_BASE_URL});c.defaults.timeout=1e4,c.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var s=n(84835);let o={"content-type":"application/json"},l=e=>{if(!(0,s.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let n=t[e];"string"==typeof n&&(t[e]=n.trim())}return JSON.stringify(t)},d=(e,t)=>{if(t){let n=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");n&&(e+="?".concat(n))}return c.get("/api"+e,{headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let n=l(t);return c.post("/api"+e,{body:n,headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},u=(e,t)=>{let n=l(t);return c.post(e,{body:n,headers:o}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},g=(e,t)=>c.post(e,{body:t}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,106,693,118,440,55,253,769,744],function(){return e(e.s=18885)}),_N_E=e.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[538],{18885:function(e,t,n){Promise.resolve().then(n.bind(n,26257))},26257:function(e,t,n){"use strict";n.r(t);var a=n(9268),i=n(56008),s=n(86006),r=n(78635),c=n(70900),o=n(44334),d=n(311),l=n(22046),h=n(83192),u=n(23910),g=n(1031);t.default=()=>{let e=(0,i.useRouter)(),{mode:t}=(0,r.tv)(),n=(0,i.useSearchParams)().get("spacename"),x=(0,i.useSearchParams)().get("documentid"),[j,p]=(0,s.useState)(0),[m,f]=(0,s.useState)(0),[S,y]=(0,s.useState)([]);return(0,s.useEffect)(()=>{(async function(){let e=await fetch("".concat("http://127.0.0.1:5000","/knowledge/").concat(n,"/chunk/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({document_id:x,page:1,page_size:20})}),t=await e.json();t.success&&(y(t.data.data),p(t.data.total),f(t.data.page))})()},[]),(0,a.jsxs)("div",{className:"p-4",children:[(0,a.jsx)(c.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:(0,a.jsxs)(o.Z,{"aria-label":"breadcrumbs",children:[(0,a.jsx)(d.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,a.jsx)(d.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(n))},underline:"hover",color:"neutral",fontSize:"inherit",children:"Documents"},"Knowledge Space"),(0,a.jsx)(l.ZP,{fontSize:"inherit",children:"Chunks"})]})}),(0,a.jsx)("div",{className:"p-4",children:S.length?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(h.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===t?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Name"}),(0,a.jsx)("th",{children:"Content"}),(0,a.jsx)("th",{children:"Meta Data"})]})}),(0,a.jsx)("tbody",{children:S.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e.doc_name}),(0,a.jsx)("td",{children:(0,a.jsx)(u.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,a.jsx)("td",{children:(0,a.jsx)(u.Z,{content:JSON.stringify(e.meta_info||"{}",null,2),trigger:"hover",children:e.meta_info.length>10?"".concat(e.meta_info.slice(0,10),"..."):e.meta_info})})]},e.id))})]}),(0,a.jsx)(c.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,a.jsx)(g.Z,{defaultPageSize:20,showSizeChanger:!1,current:m,total:j,onChange:async e=>{let t=await fetch("".concat("http://127.0.0.1:5000","/knowledge/").concat(n,"/chunk/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({document_id:x,page:e,page_size:20})}),a=await t.json();a.success&&(y(a.data.data),p(a.data.total),f(a.data.page))},hideOnSinglePage:!0})})]}):(0,a.jsx)(a.Fragment,{})})]})}}},function(e){e.O(0,[430,693,118,440,55,253,769,744],function(){return e(e.s=18885)}),_N_E=e.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[538],{18885:function(e,t,n){Promise.resolve().then(n.bind(n,26257))},26257:function(e,t,n){"use strict";n.r(t);var a=n(9268),s=n(56008),i=n(86006),c=n(78635),o=n(70900),r=n(44334),d=n(311),l=n(22046),h=n(83192),u=n(23910),g=n(1031);t.default=()=>{let e=(0,s.useRouter)(),{mode:t}=(0,c.tv)(),n=(0,s.useSearchParams)().get("spacename"),x=(0,s.useSearchParams)().get("documentid"),[m,j]=(0,i.useState)(0),[p,f]=(0,i.useState)(0),[S,w]=(0,i.useState)([]);return(0,i.useEffect)(()=>{(async function(){let e=await fetch("".concat("https://u158074-879a-d00019a9.westa.seetacloud.com:8443","/knowledge/").concat(n,"/chunk/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({document_id:x,page:1,page_size:20})}),t=await e.json();t.success&&(w(t.data.data),j(t.data.total),f(t.data.page))})()},[]),(0,a.jsxs)("div",{className:"p-4",children:[(0,a.jsx)(o.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:(0,a.jsxs)(r.Z,{"aria-label":"breadcrumbs",children:[(0,a.jsx)(d.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,a.jsx)(d.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(n))},underline:"hover",color:"neutral",fontSize:"inherit",children:"Documents"},"Knowledge Space"),(0,a.jsx)(l.ZP,{fontSize:"inherit",children:"Chunks"})]})}),(0,a.jsx)("div",{className:"p-4",children:S.length?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(h.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===t?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{children:"Name"}),(0,a.jsx)("th",{children:"Content"}),(0,a.jsx)("th",{children:"Meta Data"})]})}),(0,a.jsx)("tbody",{children:S.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{children:e.doc_name}),(0,a.jsx)("td",{children:(0,a.jsx)(u.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,a.jsx)("td",{children:(0,a.jsx)(u.Z,{content:JSON.stringify(e.meta_info||"{}",null,2),trigger:"hover",children:e.meta_info.length>10?"".concat(e.meta_info.slice(0,10),"..."):e.meta_info})})]},e.id))})]}),(0,a.jsx)(o.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,a.jsx)(g.Z,{defaultPageSize:20,showSizeChanger:!1,current:p,total:m,onChange:async e=>{let t=await fetch("".concat("https://u158074-879a-d00019a9.westa.seetacloud.com:8443","/knowledge/").concat(n,"/chunk/list"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({document_id:x,page:e,page_size:20})}),a=await t.json();a.success&&(w(a.data.data),j(a.data.total),f(a.data.page))},hideOnSinglePage:!0})})]}):(0,a.jsx)(a.Fragment,{})})]})}}},function(e){e.O(0,[430,693,118,440,55,253,769,744],function(){return e(e.s=18885)}),_N_E=e.O()}]);

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[538],{18885:function(e,t,n){Promise.resolve().then(n.bind(n,26257))},26257:function(e,t,n){"use strict";n.r(t);var r=n(9268),a=n(56008),i=n(86006),c=n(78635),s=n(70900),o=n(44334),l=n(311),d=n(22046),h=n(83192),u=n(23910),g=n(1031),f=n(78915);t.default=()=>{let e=(0,a.useRouter)(),{mode:t}=(0,c.tv)(),n=(0,a.useSearchParams)().get("spacename"),j=(0,a.useSearchParams)().get("documentid"),[m,p]=(0,i.useState)(0),[x,P]=(0,i.useState)(0),[b,y]=(0,i.useState)([]);return(0,i.useEffect)(()=>{(async function(){let e=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:1,page_size:20});e.success&&(y(e.data.data),p(e.data.total),P(e.data.page))})()},[]),(0,r.jsxs)("div",{className:"p-4",children:[(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-start",alignItems:"center",sx:{marginBottom:"20px"},children:(0,r.jsxs)(o.Z,{"aria-label":"breadcrumbs",children:[(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores")},underline:"hover",color:"neutral",fontSize:"inherit",children:"Knowledge Space"},"Knowledge Space"),(0,r.jsx)(l.Z,{onClick:()=>{e.push("/datastores/documents?name=".concat(n))},underline:"hover",color:"neutral",fontSize:"inherit",children:"Documents"},"Knowledge Space"),(0,r.jsx)(d.ZP,{fontSize:"inherit",children:"Chunks"})]})}),(0,r.jsx)("div",{className:"p-4",children:b.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(h.Z,{color:"primary",variant:"plain",size:"lg",sx:{"& tbody tr: hover":{backgroundColor:"light"===t?"rgb(246, 246, 246)":"rgb(33, 33, 40)"},"& tbody tr: hover a":{textDecoration:"underline"}},children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:"Name"}),(0,r.jsx)("th",{children:"Content"}),(0,r.jsx)("th",{children:"Meta Data"})]})}),(0,r.jsx)("tbody",{children:b.map(e=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{children:e.doc_name}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:e.content,trigger:"hover",children:e.content.length>10?"".concat(e.content.slice(0,10),"..."):e.content})}),(0,r.jsx)("td",{children:(0,r.jsx)(u.Z,{content:JSON.stringify(e.meta_info||"{}",null,2),trigger:"hover",children:e.meta_info.length>10?"".concat(e.meta_info.slice(0,10),"..."):e.meta_info})})]},e.id))})]}),(0,r.jsx)(s.Z,{direction:"row",justifyContent:"flex-end",sx:{marginTop:"20px"},children:(0,r.jsx)(g.Z,{defaultPageSize:20,showSizeChanger:!1,current:x,total:m,onChange:async e=>{let t=await (0,f.PR)("/knowledge/".concat(n,"/chunk/list"),{document_id:j,page:e,page_size:20});t.success&&(y(t.data.data),p(t.data.total),P(t.data.page))},hideOnSinglePage:!0})})]}):(0,r.jsx)(r.Fragment,{})})]})}},78915:function(e,t,n){"use strict";n.d(t,{Tk:function(){return l},Kw:function(){return d},PR:function(){return h},Ej:function(){return u}});var r=n(21628),a=n(24214);let i=a.Z.create({baseURL:"http://127.0.0.1:5000"});i.defaults.timeout=1e4,i.interceptors.response.use(e=>e.data,e=>Promise.reject(e));var c=n(84835);let s={"content-type":"application/json"},o=e=>{if(!(0,c.isPlainObject)(e))return JSON.stringify(e);let t={...e};for(let e in t){let n=t[e];"string"==typeof n&&(t[e]=n.trim())}return JSON.stringify(t)},l=(e,t)=>{if(t){let n=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");n&&(e+="?".concat(n))}return i.get("/api"+e,{headers:s}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},d=(e,t)=>{let n=o(t);return i.post("/api"+e,{body:n,headers:s}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},h=(e,t)=>{let n=o(t);return i.post(e,{body:n,headers:s}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})},u=(e,t)=>i.post(e,{body:t}).then(e=>e).catch(e=>{r.ZP.error(e),Promise.reject(e)})}},function(e){e.O(0,[180,752,693,118,440,55,253,769,744],function(){return e(e.s=18885)}),_N_E=e.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

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

View File

@ -0,0 +1 @@
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{51029:function(e,n,t){Promise.resolve().then(t.t.bind(t,68802,23)),Promise.resolve().then(t.t.bind(t,13211,23)),Promise.resolve().then(t.t.bind(t,5767,23)),Promise.resolve().then(t.t.bind(t,14299,23)),Promise.resolve().then(t.t.bind(t,37396,23))}},function(e){var n=function(n){return e(e.s=n)};e.O(0,[253,769],function(){return n(29070),n(51029)}),_N_E=e.O()}]);

View File

@ -0,0 +1 @@
self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/_error":["static/chunks/pages/_error-f5357f382422dd96.js"],sortedPages:["/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();

View File

@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set([]);self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}]
0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["agents",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false}
0:["LsJAw9wmT3q63aQDzaYhO",[[["",{"children":["agents",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-6452255d83d45c3e.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
8:I{"id":"4191","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","757:static/chunks/f60284a2-6891068c9ea7ce77.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","662:static/chunks/662-6f651dffca342bc9.js","481:static/chunks/481-55e7d47dd2c74b66.js","718:static/chunks/app/agents/page-d0e9747fec52ce80.js"],"name":"","async":false}
8:I{"id":"4191","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","757:static/chunks/f60284a2-6891068c9ea7ce77.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","662:static/chunks/662-6f651dffca342bc9.js","481:static/chunks/481-55e7d47dd2c74b66.js","718:static/chunks/app/agents/page-4681b3d10d858b08.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","agents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],null],"segment":"agents"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}]
0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false}
0:["LsJAw9wmT3q63aQDzaYhO",[[["",{"children":["chat",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-6452255d83d45c3e.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
8:I{"id":"59498","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","662:static/chunks/662-6f651dffca342bc9.js","929:static/chunks/app/chat/page-9b84c22e2aa86b93.js"],"name":"","async":false}
8:I{"id":"59498","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","751:static/chunks/751-9808572c67f2351c.js","662:static/chunks/662-6f651dffca342bc9.js","929:static/chunks/app/chat/page-dbd994bed3394f35.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","chat","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"chat"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}]
0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["datastores",{"children":["documents",{"children":["chunklist",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false}
0:["LsJAw9wmT3q63aQDzaYhO",[[["",{"children":["datastores",{"children":["documents",{"children":["chunklist",{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-6452255d83d45c3e.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
8:I{"id":"26257","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","440:static/chunks/440-8431a38ed9f2e11b.js","55:static/chunks/55-41778c7520ea1334.js","538:static/chunks/app/datastores/documents/chunklist/page-eff0493e5a094c84.js"],"name":"","async":false}
8:I{"id":"26257","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","440:static/chunks/440-8431a38ed9f2e11b.js","55:static/chunks/55-41778c7520ea1334.js","538:static/chunks/app/datastores/documents/chunklist/page-24d5ddd85fb15398.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children","chunklist","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"chunklist"},"styles":[]}],"segment":"documents"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}]
0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["datastores",{"children":["documents",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false}
0:["LsJAw9wmT3q63aQDzaYhO",[[["",{"children":["datastores",{"children":["documents",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-6452255d83d45c3e.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
8:I{"id":"16692","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","550:static/chunks/925f3d25-1af7259455ef26bd.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","55:static/chunks/55-41778c7520ea1334.js","642:static/chunks/642-df31c252aa27b391.js","470:static/chunks/app/datastores/documents/page-aade80c3f0e3294d.js"],"name":"","async":false}
8:I{"id":"16692","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","550:static/chunks/925f3d25-1af7259455ef26bd.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","55:static/chunks/55-41778c7520ea1334.js","642:static/chunks/642-df31c252aa27b391.js","470:static/chunks/app/datastores/documents/page-8115d00a8bdfbea1.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children","documents","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"documents"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}]
0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["datastores",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false}
0:["LsJAw9wmT3q63aQDzaYhO",[[["",{"children":["datastores",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-6452255d83d45c3e.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
8:I{"id":"44323","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","672:static/chunks/672-860e1c1d53658862.js","642:static/chunks/642-df31c252aa27b391.js","43:static/chunks/app/datastores/page-b20f7e6815096335.js"],"name":"","async":false}
8:I{"id":"44323","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","693:static/chunks/693-ed79550f78fd681b.js","118:static/chunks/118-46b95fe35f46f1b9.js","672:static/chunks/672-860e1c1d53658862.js","642:static/chunks/642-df31c252aa27b391.js","43:static/chunks/app/datastores/page-0ad92a94a235eabf.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children","datastores","children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"segment":"datastores"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
1:HL["/_next/static/css/500e50384396563b.css",{"as":"style"}]
0:["4ef3Zj0tsK1FEAj-0Rw_K",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-f0f8e514282ceb6a.js"],"name":"","async":false}
0:["LsJAw9wmT3q63aQDzaYhO",[[["",{"children":["__PAGE__",{}]},"$undefined","$undefined",true],"$L2",[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/500e50384396563b.css","precedence":"next"}]],["$L3",null]]]]]
4:I{"id":"50902","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","693:static/chunks/693-ed79550f78fd681b.js","316:static/chunks/316-cdd7af28971b8ca4.js","440:static/chunks/440-8431a38ed9f2e11b.js","672:static/chunks/672-860e1c1d53658862.js","751:static/chunks/751-9808572c67f2351c.js","216:static/chunks/216-7cd3d510ec0e1384.js","185:static/chunks/app/layout-6452255d83d45c3e.js"],"name":"","async":false}
5:I{"id":"13211","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
6:I{"id":"5767","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
7:I{"id":"37396","chunks":["272:static/chunks/webpack-053a725dccea4b75.js","253:static/chunks/bce60fc1-18c9f145b45d8f36.js","769:static/chunks/769-76f7aafd375fdd6b.js"],"name":"","async":false}
8:I{"id":"26925","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","931:static/chunks/app/page-82f81a52b1831f3f.js"],"name":"","async":false}
8:I{"id":"26925","chunks":["180:static/chunks/0e02fca3-615d0d51fa074d92.js","106:static/chunks/106-a778485a4c5bcb5b.js","685:static/chunks/685-9a51e8e6726368d3.js","86:static/chunks/86-3a20bc6b78835c59.js","316:static/chunks/316-cdd7af28971b8ca4.js","259:static/chunks/259-2c3490a9eca2f411.js","931:static/chunks/app/page-f82d4b8e68b1c0b2.js"],"name":"","async":false}
2:[["$","$L4",null,{"children":["$","$L5",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","loading":"$undefined","loadingStyles":"$undefined","hasLoading":false,"template":["$","$L6",null,{}],"templateStyles":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","childProp":{"current":[["$","$L7",null,{"propsForComponent":{"params":{}},"Component":"$8"}],null],"segment":"__PAGE__"},"styles":[]}],"params":{}}],null]
3:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","link","2",{"rel":"icon","href":"/favicon.ico","type":"image/x-icon","sizes":"any"}]]