Skip to content

Commit

Permalink
Deployed 09bd5d6 with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thisthat committed Nov 20, 2024
1 parent 07d143e commit 211a679
Show file tree
Hide file tree
Showing 74 changed files with 44 additions and 19 deletions.
2 changes: 1 addition & 1 deletion 404.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


<link rel="icon" href="/assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
Empty file modified assets/images/favicon.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/javascripts/bundle.fe8b6f2b.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/bundle.fe8b6f2b.min.js.map
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.ar.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.da.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.de.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.du.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.el.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.es.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.fi.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.fr.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.he.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.hi.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.hu.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.hy.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.it.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.ja.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.jp.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.kn.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.ko.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.multi.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.nl.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.no.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.pt.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.ro.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.ru.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.sa.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.stemmer.support.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.sv.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.ta.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.te.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.th.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.tr.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.vi.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/min/lunr.zh.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/tinyseg.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/lunr/wordcut.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/workers/search.b8dbb3d2.min.js
100755 → 100644
Empty file.
Empty file modified assets/javascripts/workers/search.b8dbb3d2.min.js.map
100755 → 100644
Empty file.
Empty file modified assets/stylesheets/main.3cba04c6.min.css
100755 → 100644
Empty file.
Empty file modified assets/stylesheets/main.3cba04c6.min.css.map
100755 → 100644
Empty file.
Empty file modified assets/stylesheets/palette.06af60db.min.css
100755 → 100644
Empty file.
Empty file modified assets/stylesheets/palette.06af60db.min.css.map
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion cleanup/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
11 changes: 7 additions & 4 deletions how-it-works-rag/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down Expand Up @@ -513,19 +513,22 @@

<h1>3. How it works (RAG)</h1>

<p>The "Retrieval-Augmented Generation" (RAG) version (available <a href="https://github.com/dynatrace-perfclinics/obslab-llm-observability/tree/ollama-pinecone" target="_blank">on the ollama-pinecone branch</a>) mimicks training an LLM on an internal knowledgebase.
<p>The "Retrieval-Augmented Generation" (RAG) version (available
<a href="https://github.com/dynatrace-perfclinics/obslab-llm-observability/tree/ollama-pinecone" target="_blank">on the ollama-pinecone branch</a>)
mimicks training an LLM on an internal knowledgebase.
It will produce custom destination advice for places the system has explicitly been trained on (the files in the <a href="https://github.com/dynatrace-perfclinics/obslab-llm-observability/tree/ollama-pinecone/destinations" target="_blank">destinations folder</a>).
Namely, <code>Bali</code> and <code>Sydney</code>. For other locations, the model will provide an answer based on its own knowledge.
It is based on <a href="https://dt-url.net/l843uge">Ollama</a> and uses <a href="https://dt-url.net/0323urx">PineCone</a> as a Vector database. The RAG pipeline is built using <a href="https://dt-url.net/6d03u7j">LangChain</a>. </p>
<p>The RAG version of the demo mimicks training an LLM on an internal knowledgebase.</p>
<p>The dropdown allow to select two modes: <code>Direct LLM</code> and <code>RAG</code>.<br />
Switching between the two, we can verify the answer provided without and with our own knowledge based, respectively.</p>
<p><img alt="" src="https://dt-cdn.net/images/architecture-rag-1269-e11f226cf6.jpg" /></p>
<p>When the application starts, files inside the <a href="https://github.com/dynatrace-perfclinics/obslab-llm-observability/tree/ollama-pinecone/destinations" target="_blank">destinations</a> folder are read, processed, and stored in PineCone for later lookup.
Afterwards, each request goes through the LangChain RAG pipeline, which performs the following steps:</p>
<ul>
<li>It contacts Ollama to produce an embedding of the user input</li>
<li>With the embedding, reach out to PineCone to find documents relevant to the user input</li>
<li>Use the documents to perform prompt engineering and send it to Ollama to produce the travel recommendation </li>
<li>Process the answer received </li>
<li>Process the answer received</li>
</ul>
<div class="grid cards">
<ul>
Expand Down
2 changes: 1 addition & 1 deletion how-it-works-standard/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
Empty file modified images/architecture.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/blank-terminal.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/cached-request-not-stale.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/dashboard-upload.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/dashboard.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/distributed-trace-openai-metadata.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/distributed-trace-weaviate.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/distributed-trace-with-openai.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/ports-open-in-browser.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/rag-architecture.jpg
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/screenshot.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified images/success-message.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/trace-rag.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


<link rel="icon" href="assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
2 changes: 1 addition & 1 deletion prerequisites/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
2 changes: 1 addition & 1 deletion resources/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json
100755 → 100644

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion setup/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
Empty file modified sitemap.xml
100755 → 100644
Empty file.
Binary file modified sitemap.xml.gz
100755 → 100644
Binary file not shown.
2 changes: 1 addition & 1 deletion snippets/disclaimer/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


<link rel="icon" href="../../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
2 changes: 1 addition & 1 deletion snippets/preview-functionality/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


<link rel="icon" href="../../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
2 changes: 1 addition & 1 deletion snippets/view-code/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


<link rel="icon" href="../../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
2 changes: 1 addition & 1 deletion startup/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
2 changes: 1 addition & 1 deletion use-demo/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down
24 changes: 23 additions & 1 deletion visualise-dt/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down Expand Up @@ -465,6 +465,15 @@
<nav class="md-nav" aria-label="Distributed Traces">
<ul class="md-nav__list">

<li class="md-nav__item">
<a href="#trace-of-the-rag-pipeline" class="md-nav__link">
<span class="md-ellipsis">
Trace of the RAG Pipeline
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#trace-with-openai" class="md-nav__link">
<span class="md-ellipsis">
Expand Down Expand Up @@ -610,6 +619,15 @@
<nav class="md-nav" aria-label="Distributed Traces">
<ul class="md-nav__list">

<li class="md-nav__item">
<a href="#trace-of-the-rag-pipeline" class="md-nav__link">
<span class="md-ellipsis">
Trace of the RAG Pipeline
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#trace-with-openai" class="md-nav__link">
<span class="md-ellipsis">
Expand Down Expand Up @@ -680,6 +698,10 @@ <h2 id="distributed-traces">Distributed Traces<a class="headerlink" href="#distr
<li>Traces for <code>/api/v1/completion</code> are created for each call to either OpenAI or a call to the Weaviate cache.</li>
</ul>
<p>Remember that only the very first requests for a given destination will go out to OpenAI. So expect many many more cached traces than "live" traces.</p>
<h3 id="trace-of-the-rag-pipeline">Trace of the RAG Pipeline<a class="headerlink" href="#trace-of-the-rag-pipeline" title="Permanent link">#</a></h3>
<p>Tracing LangChain allows to see all step that the pipeline takes to supply external knowledge to the LLM model.
In the span attributes, we can observe the prompt crafted by the RAG pipeline with the external documents.</p>
<p><img alt="distributed trace RAG" src="../images/trace-rag.png" /></p>
<h3 id="trace-with-openai">Trace with OpenAI<a class="headerlink" href="#trace-with-openai" title="Permanent link">#</a></h3>
<p>A "full" call to OpenAI looks like this. Notice the long call halfway through the trace to <code>openai.chat</code>. These traces take much longer (3 seconds vs. 500ms).</p>
<p><img alt="distributed trace calling OpenAI" src="../images/distributed-trace-with-openai.png" /></p>
Expand Down
2 changes: 1 addition & 1 deletion whats-next/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


<link rel="icon" href="../assets/images/favicon.png">
<meta name="generator" content="mkdocs-1.6.0, mkdocs-material-9.5.31">
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.30">



Expand Down

0 comments on commit 211a679

Please sign in to comment.