Skip to content

Commit

Permalink
Added RAG for confluence
Browse files Browse the repository at this point in the history
  • Loading branch information
adutta-newrelic committed Feb 3, 2025
1 parent ae0cdc8 commit 5656818
Show file tree
Hide file tree
Showing 2 changed files with 109 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
---
title: "Knowledge Integrations with confluence"
metaDescription: "Integration of RAG with confluence is a GenAI assistant for observability that will help you understand and improve your system by integrating RAG with your confluence"
tags:
freshnessValidatedDate: never
---

## Introduction

The integration of New Relic's RAG (Retrieve and Generate) feature with confluence allows users to enhance their troubleshooting and documentation processes by directly referencing confluence content within New Relic AI's responses. This integration is particularly useful for organizations that rely on confluence for maintaining their runbooks and documentation.

## Features of Knowledge Integration confluence integration

* **Automatic Ingestion and Indexing**: The Knowledge Integration confluence feature automatically ingests and indexes your confluence content, ensuring that all relevant documentation is readily accessible.

* **Direct Reference in AI Responses**: When using Ask AI, it will directly reference your confluence pages. This ensures that users receive precise and relevant information from their organization's documentation.

## Manual upload via API

<Steps>

<Step>
## Customer Executes the Script

* Write a script using the Confluence Query Language (CQL).

* The script is designed to interact with the RAG system to collect and prepare data for analysis.
</Step>

<Step>
## Upload the Script to Cloud Storage

* Upload the script to the designated cloud storage solution.

* **For Azure Blob Storage**:

* Use the Azure Storage SDK or the Azure Blob Storage API to authenticate and upload the script.

* **For Amazon S3 Buckets**:

* Utilize the AWS SDK or Amazon S3 API to authenticate and upload the script.

Ensure that the uploaded script complies with the predefined naming conventions and structure to facilitate the indexing pipeline.
</Step>

<Step>
## Authenticate with New Relic

* You must provide your New Relic API key to allow the RAG system to interact with the New Relic API.
* This API key will typically be used for retrieving performance data or pushing custom events/data.
</Step>

<Step>

## Trigger the indexing pipeline

* Once the script is uploaded to the cloud storage and authenticated with the New Relic API key, an indexing pipeline is automatically triggered.

</Step>

</Steps>
The pipeline performs the following tasks:

Validates the script.

Indexes the data retrieved or generated by the script.

Processes the indexed data based on specific criteria or rules defined in the quickstart pipeline.

Step 5: Monitor and Log the Process
The RAG system provides monitoring and logging capabilities throughout the entire process.

Customers can track the status of their script execution and indexing pipeline through a dashboard or API endpoints.

Step 6: Notification of Completion/Error Handling
Upon completion of the indexing process, customers are notified via their preferred method (e.g., email, webhook).

If any errors occur during the execution or indexing, the system captures the details and notifies the customer for troubleshooting and resolution.

## Install RAG integration for confluence

To start indexing your confluence content and benefit from the Knowledge Integration with New Relic AI, which allows enhanced access to your organization's documentation, follow these steps:

<Steps>

<Step>
Navigate to **one.newrelic.com** > **Integrations & Agents** > **Knowledge Integration confluence**.
</Step>

<Step>
From the drop-down menu, select the appropriate account.
</Step>

<Step>
Enter the mandatory details required for the integration.
</Step>

<Step>
Click on **Add Confluence** to complete the setup.
</Step>

</Steps>
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "RAG API"
metaDescription: "Integration of RAG with Confluence is a GenAI assistant for observability that will help you understand and improve your system by integrating RAG with your confluence"
tags:
freshnessValidatedDate: never
---

0 comments on commit 5656818

Please sign in to comment.