Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excalidraw macro
baseUrlhttps://xdevpod.atlassian.net/wiki
diagramNamediagram-1724039908378.excalidraw
width1015.8880920410156
pageId478085313528777239
revision12
height769.7058725166321

Call LLM Directly

...

Excalidraw macro
baseUrlhttps://xdevpod.atlassian.net/wiki
diagramNamediagram-1724149141057.excalidraw
width597.5446139445976
pageId478085313528777239
revision12
height310.7295905537258

RAG (Retrieval-Augmented Generation) in AI for Confluence

The plugin is based on the RAG model and provides intelligent search and query capabilitiescapabilities integration with Confluence knowledge base. During user queries, it leverages content from Confluence and utilizes a large language model (LLM) to deliver answers, along with the sources of the content. Typical use cases are:

  • Chat

  • Intelligent query

  • Define

Content indexing

During the indexing stage, documents are pre-processed in a way that enables efficient search during the retrieval stage.

Excalidraw macro
baseUrlhttps://xdevpod.atlassian.net/wiki
diagramNamediagram-1724138974862.excalidraw
width869.447643705636
pageId478085313528777239
revision42
height315.24853515625

Indexing Steps

...

  • Page

  • Blog

  • Attachments

    • Office docs (.docx, .pptx, .xlsx)

    • PDF (.pdf)

    • Text files (.txt, .xml, .html, .rtf etc)

Will the achieved contents be indexed?

The plugin will call confluence search API to get the new contents to index for embedding, achieved docs can not be searched, so that will not be indexed either.

Where the embeddings stored

...

Chroma DB is an open-source tool recommended for use as a database if Confluence has a large volume of data to index. Customer is required to install a Chroma DB that can be accessed by Confluence.

Scopes of Index

All the contents in Confluence will be indexed by default. Confluence administrator can customized scopes in by Spaces and CQL with Knowledge Configuration of the plugin configuration.

...

Excalidraw macro
baseUrlhttps://xdevpod.atlassian.net/wiki
diagramNamediagram-1724143009120.excalidraw
width957.0325066929631
pageId478085313528777239
revision12
height349.4577295984735

Query Steps:

...

A: Query prompts + relevant context

Q: Can user query contents which are blocked by Confluence permissions ?

A: No, the Permission Filter will check the permissions and filter contents to user according to permission settings of confluence (e.g. Space permission, Page permission).

Q: Do you (XDevPod) collect user data?

...