-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aaf25ea
commit ac7ef1e
Showing
8 changed files
with
278 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
.../content/retrieval-augmented-generation/retrieval-augmented-generation-guide.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
label: A comprehensive guide | ||
icon: | ||
src: /icons/outline/guidebook-blue.svg | ||
alt: Guidebook | ||
title: Best Practices in RAG Evaluation | ||
description: Learn how to assess, calibrate, and optimize your RAG applications for long-term success. | ||
getGuideButton: | ||
text: Get the Guide | ||
url: "/rag/rag-evaluation-guide/" | ||
image: | ||
src: /img/retrieval-augmented-generation-evaluation/guide-graphic.svg | ||
alt: RAG guide | ||
sitemapExclude: true | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 88 additions & 0 deletions
88
...landing/themes/qdrant-2024/assets/css/partials/_retrieval-augmented-generation-guide.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
@use '../helpers/functions' as *; | ||
|
||
.retrieval-augmented-generation-guide { | ||
position: relative; | ||
padding-top: $spacer * 4; | ||
padding-bottom: $spacer * 4; | ||
background-color: $neutral-10; | ||
overflow: hidden; | ||
|
||
&__content { | ||
position: relative; | ||
z-index: 1; | ||
} | ||
|
||
&__tag { | ||
display: inline-flex; | ||
align-items: center; | ||
gap: $spacer * 0.5; | ||
margin-bottom: $spacer * 2; | ||
padding: calc($spacer / 4) $spacer; | ||
border-radius: $spacer; | ||
background-color: $neutral-20; | ||
|
||
img { | ||
width: $spacer; | ||
height: $spacer; | ||
} | ||
|
||
p { | ||
margin-bottom: 0; | ||
font-size: pxToRem(14); | ||
line-height: pxToRem(21); | ||
font-weight: 400; | ||
color: $neutral-90; | ||
} | ||
} | ||
|
||
&__title { | ||
margin-bottom: $spacer * 2; | ||
font-size: $spacer * 2; | ||
line-height: pxToRem(38); | ||
color: $neutral-98; | ||
} | ||
|
||
&__description { | ||
margin-bottom: $spacer * 2; | ||
font-size: pxToRem(18); | ||
line-height: pxToRem(27); | ||
color: $neutral-70; | ||
} | ||
|
||
&__preview { | ||
img { | ||
display: block; | ||
width: 100%; | ||
max-width: pxToRem(540); | ||
margin: $spacer * 2.5 auto 0 auto; | ||
} | ||
} | ||
|
||
&__overlay-bottom { | ||
left: -$spacer * 1.5; | ||
bottom: -$spacer * 1.5; | ||
} | ||
|
||
@include media-breakpoint-up(xl) { | ||
padding-top: $spacer * 7.5; | ||
padding-bottom: $spacer * 7.5; | ||
|
||
&__title { | ||
max-width: pxToRem(445); | ||
font-size: $spacer * 3; | ||
line-height: pxToRem(58); | ||
} | ||
|
||
&__description { | ||
max-width: pxToRem(445); | ||
font-size: pxToRem(20); | ||
line-height: pxToRem(30); | ||
} | ||
|
||
&__preview { | ||
img { | ||
margin: 0 0 0 auto; | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
qdrant-landing/themes/qdrant-2024/layouts/partials/retrieval-augmented-generation-guide.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{{ with (.Site.GetPage "/retrieval-augmented-generation/retrieval-augmented-generation-guide") }} | ||
<section class="retrieval-augmented-generation-guide"> | ||
<div class="container"> | ||
<div class="row align-items-lg-center"> | ||
<div class="retrieval-augmented-generation-guide__content col-12 col-lg-6"> | ||
<div class="retrieval-augmented-generation-guide__tag"> | ||
<img src="{{ .Params.icon.src }}" alt="{{ .Params.icon.alt }}"> | ||
<p>{{ .Params.label }}</p> | ||
</div> | ||
<h2 class="retrieval-augmented-generation-guide__title">{{ .Params.title }}</h2> | ||
<p class="retrieval-augmented-generation-guide__description">{{ .Params.description }}</p> | ||
<a href="{{ .Params.getGuideButton.url }}" class="button button_contained button_sm"> | ||
{{ .Params.getGuideButton.text }} | ||
</a> | ||
</div> | ||
|
||
<div class="retrieval-augmented-generation-guide__preview col-12 col-lg-6"> | ||
<img src="{{ .Params.image.src }}" alt="{{ .Params.image.alt }}" /> | ||
</div> | ||
</div> | ||
</div> | ||
{{ partial "top-and-bottom-overlay" (dict "context" . "class" "retrieval-augmented-generation-guide") }} | ||
</section> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
qdrant-landing/themes/qdrant-2024/static/icons/outline/guidebook-blue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.