upgraded ui

This commit is contained in:
Saifeddine ALOUI 2023-12-17 03:55:34 +01:00
parent 412e6720ae
commit ae850ce88f
9 changed files with 196 additions and 180 deletions

View File

@ -0,0 +1,16 @@
Hi there, this is a short to show you the potential of the hierarchical contextual summary of documents using lollms.
To do so, we first go to settings page. Under the personalities section, select the category data, and mount the docs_zipper personality.
Now, we go to the personality settings and we set some specific summery parameters. Here we say keep the method description, we select keep document title and authors in the summary. We set the summary size in tokens and we validate.
Now we add the document to summerize and we go to the personality menu and we select start
The document will be decomposed into a certain number of chunks, then each chunk is contextually summerized. After that the summeries are tied together then the operation is repeated until the compressed text is smaller than the maximum number of tokens set in the configuration.
The contextual nature of this algorithm will allow you to have better control over the summary. For example, here we asked for keeping the title, the author names and the results of the paper as well as the method.
As you can see, the summary has respected all the constraints that we did set. We can find the title, the authors names, the method and the numerical results.
Don't forget to like and subscribe
Thanks for watching

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
web/dist/assets/index-80a485ca.css vendored Normal file

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-4da30fcb.js"></script>
<link rel="stylesheet" href="/assets/index-2e47c658.css">
<script type="module" crossorigin src="/assets/index-4179aa9a.js"></script>
<link rel="stylesheet" href="/assets/index-80a485ca.css">
</head>
<body>
<div id="app"></div>

View File

@ -2,7 +2,7 @@
<div class="flex flex-col h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50 w-full dark:bg-bg-dark overflow-hidden">
<TopBar />
<div class="flex overflow-hidden flex-grow">
<div class="flex overflow-hidden flex-grow w-full">
<!-- VIEW CONTAINER -->
<RouterView v-slot="{ Component }">
<KeepAlive>

View File

@ -191,14 +191,14 @@
</div>
</div>
<div class="relative flex flex-row flex-grow mb-10 z-0">
<div class="relative flex flex-row flex-grow mb-10 z-0 w-full">
<!-- DISCUSSION LIST -->
<div class="mx-4 flex flex-col flex-grow " :class="isDragOverDiscussion ? 'pointer-events-none' : ''">
<div class="mx-4 flex flex-col flex-grow w-full " :class="isDragOverDiscussion ? 'pointer-events-none' : ''">
<div id="dis-list" :class="filterInProgress ? 'opacity-20 pointer-events-none' : ''"
class="flex flex-col flex-grow ">
class="flex flex-col flex-grow w-full">
<TransitionGroup v-if="list.length > 0" name="list">
<Discussion v-for="(item, index) in list" :key="item.id" :id="item.id" :title="item.title"
:selected="currentDiscussion.id == item.id" :loading="item.loading" :isCheckbox="isCheckbox"
@ -226,13 +226,13 @@
</div>
</div>
</transition>
<div v-if="isReady" class="relative flex flex-col flex-grow" >
<div v-if="isReady" class="relative flex flex-col flex-grow w-full" >
<div id="messages-list"
class=" z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"
class="w-full z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"
:class="isDragOverChat ? 'pointer-events-none' : ''">
<!-- CHAT AREA -->
<div class=" container pt-4 pb-10 mb-28">
<div class="container pt-4 pb-50 mb-50 w-full">
<TransitionGroup v-if="discussionArr.length > 0" name="list">
<Message v-for="(msg, index) in discussionArr"
:key="msg.id" :message="msg" :id="'msg-' + msg.id"
@ -249,7 +249,7 @@
</TransitionGroup>
<WelcomeComponent v-if="!currentDiscussion.id" />
<div><br><br><br><br><br><br><br></div>
</div>
<div

@ -1 +1 @@
Subproject commit dcb50644f0aa399490fe2d1fe9c04192ae719957
Subproject commit aba4e0d739f02cbce2569da19b6a1f7714d3807c

@ -1 +1 @@
Subproject commit 6a1e86d28ac82d6732424948a3707821cfaa5e5e
Subproject commit 5385b1b599c0bbf9fbd71163be2f9a0184f19ab5