Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pictures to the documentation #62

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ For instance, an application utilizing this extension can:
This extension is built upon the https://github.com/langchain4j/langchain4j[LangChain4j library].
It offers a declarative approach to interact with diverse LLMs like OpenAI, Hugging Face, or Ollama. It facilitates LLM-invoked functions within Quarkus applications and allows document loading within the LLM "context".

image::llms-big-picture.png[width=600,align="center"]

== Quick Overview

To incorporate this extension, add the `io.quarkiverse.langchain4j:quarkus-langchain4j` extension to your build file.
Expand Down
3 changes: 3 additions & 0 deletions docs/modules/ROOT/pages/retrievers.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include::./includes/attributes.adoc[]

Many applications involving Large Language Models (LLMs) often require user-specific data beyond their training set, such as CSV files, data from various sources, or reports. To achieve this, the process of Retrieval Augmented Generation (RAG) is commonly employed.


== Understanding the Data Ingestion Journey

Before delving into the RAG process, it's crucial to delineate two distinct phases:
Expand All @@ -12,6 +13,8 @@ The Data Ingestion Process:: Involves data collection, cleaning, transformation,

The RAG Process:: Before engaging with the LLM, it seeks relevant documents in the database and passes them for model augmentation.

image::chatbot-architecture.png[width=1000,align="center"]

== Unveiling Embeddings

Embeddings denote data representations, typically in a lower-dimensional space (arrays of floats), preserving essential characteristics of the original data. In the realm of language or text, word embeddings represent words as numerical vectors in a continuous space.
Expand Down
Loading