mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
This feature a new modal endpoint, and a complete new way to build the summary. ## SummaryBuilder The summary builder is based on conversational model, where an exchange between the model and the user is made. This allow more context inclusion and a better respect of the rules. It requires an endpoint with OpenAI-like completions endpoint (/v1/chat/completions) ## vLLM Hermes3 Unlike previous deployment, this one use vLLM, which gives OpenAI-like completions endpoint out of the box. It could also handle guided JSON generation, so jsonformer is not needed. But, the model is quite good to follow JSON schema if asked in the prompt. ## Conversion of long/short into summary builder The builder is identifying participants, find key subjects, get a summary for each, then get a quick recap. The quick recap is used as a short_summary, while the markdown including the quick recap + key subjects + summaries are used for the long_summary. This is why the nextjs component has to be updated, to correctly style h1 and keep the new line of the markdown.
110 lines
1.4 KiB
CSS
110 lines
1.4 KiB
CSS
/* Headings */
|
|
.markdown h1,
|
|
.markdown h2,
|
|
.markdown h3,
|
|
.markdown h4,
|
|
.markdown h5,
|
|
.markdown h6 {
|
|
margin-top: 1em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.markdown h1 {
|
|
font-size: 1.2em;
|
|
font-weight: bold;
|
|
/* text-decoration: underline;
|
|
text-underline-offset: 0.2em; */
|
|
}
|
|
|
|
.markdown {
|
|
}
|
|
|
|
.markdown h1:first-child {
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
.markdown p {
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
/* Paragraphs */
|
|
.markdown p {
|
|
margin: 1em 0;
|
|
}
|
|
|
|
/* Lists */
|
|
.markdown ul,
|
|
.markdown ol {
|
|
margin: 1em;
|
|
padding-left: 1em;
|
|
}
|
|
|
|
.markdown li {
|
|
margin: 0.2em 0;
|
|
}
|
|
|
|
/* Bold and italic */
|
|
.markdown b,
|
|
.markdown strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown i,
|
|
.markdown em {
|
|
font-style: italic;
|
|
}
|
|
|
|
/* Blockquotes */
|
|
.markdown blockquote {
|
|
margin: 1em 0;
|
|
padding-left: 1em;
|
|
border-left: 2px solid #ccc;
|
|
}
|
|
|
|
/* Code blocks and inline code */
|
|
.markdown code {
|
|
font-family: "Courier New", monospace;
|
|
}
|
|
|
|
.markdown pre {
|
|
background-color: #f4f4f4;
|
|
padding: 1em;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
/* Links */
|
|
.markdown a {
|
|
color: blue;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Horizontal rule */
|
|
.markdown hr {
|
|
border: 0;
|
|
border-bottom: 1px solid #ccc;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
/* Images */
|
|
.markdown img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* Lists */
|
|
.markdown ul {
|
|
margin: 1em;
|
|
padding-left: 1em;
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.markdown ol {
|
|
margin: 1em;
|
|
padding-left: 1em;
|
|
list-style-type: decimal;
|
|
}
|
|
|
|
.markdown li {
|
|
margin: 0.2em 0;
|
|
}
|