You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* log_analysis using self corrective RAG
* updated to ChatNVIDIA
* removed chatopenai
* updated with the minor changes
* minor changes
* minor changes readme
* minor fixes
* minor changes in readme
* updated readme
Copy file name to clipboardExpand all lines: community/log_analysis_multi_agent_rag/README.md
+16-3Lines changed: 16 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,26 @@ We are calling this tool as BAT.AI (Bug Automation Tool)
8
8
# Target Audience
9
9
Devlopers : This tool is designed for developers who need to quickly analyze log files and gain actionable insights using large language model (LLM). The system automatically refines prompts to ensure optimal results, offering developers an intuitive way to interact with log data and streamline their debugging process.
10
10
11
+
# How to Use
12
+
13
+
This repository provides a sample code to demonstrate how you can use the log analysis tool for your logs. Follow the instructions below to set up and integrate the tool into your workflow.
14
+
15
+
### Set up your API Key:
16
+
17
+
-**Generate your API key** by following the steps in the link below:
18
+
[Click here to view the steps for generating an API Key](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#generate-an-api-key)
19
+
20
+
-**Store your API key** : You can securely store your API key by creating a `.env` file in the root directory of your project
21
+
-**example.py** : The sample script showcases how to integrate log analysis into your workflow. It demonstrates how to pass your log data through the system, generate insights, and manage the output.
22
+
11
23
# Components
12
24
- bat_ai.py: Defines the main workflow graph using LangGraph.
13
25
- graphnodes.py: Contains the node implementations for the workflow graph.
14
26
- multiagent.py: Implements the HybridRetriever class for document retrieval.
15
27
- graphedges.py: Contains the implementation of the edges for decision making
16
28
- binaryscroes.py: Contains the formatted output information
17
-
- utils.py : It helps to implement the queries, retrieve relevant documents, grade their relevance, and generate responses using a multi-agent RAG system.
18
-
- example.py: The script that analyzes a specified log file for errors based on a user-provided question, leveraging the workflow module to process and generate relevant insights.
29
+
- utils.py : It helps to implement the queries, retrieve relevant documents, grade their relevance, and generate responses using a multi-agent RAG system.
0 commit comments