Spaces:
Sleeping
Sleeping
Upload 6 files
Browse files- .gitattributes +1 -0
- app.py +103 -0
- data/Gretel_Data.csv +0 -0
- data/RAN_Data _T.csv +4 -0
- requirements.txt +12 -0
- vector_db/index.faiss +3 -0
- vector_db/index.pkl +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
vector_db/index.faiss filter=lfs diff=lfs merge=lfs -text
|
app.py
ADDED
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from langchain.vectorstores import FAISS
|
2 |
+
from langchain.chains import ConversationalRetrievalChain
|
3 |
+
from langchain.llms import HuggingFaceHub
|
4 |
+
from getpass import getpass
|
5 |
+
import gradio as gr
|
6 |
+
import os
|
7 |
+
from langchain.embeddings import HuggingFaceEmbeddings
|
8 |
+
from langchain_experimental.agents.agent_toolkits.csv.base import create_csv_agent
|
9 |
+
from google.colab import drive
|
10 |
+
from langchain.document_loaders import PyPDFDirectoryLoader
|
11 |
+
from langchain.document_loaders.csv_loader import CSVLoader
|
12 |
+
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
13 |
+
from langchain.memory import ConversationSummaryBufferMemory
|
14 |
+
import io
|
15 |
+
import contextlib
|
16 |
+
|
17 |
+
# HUGGINGFACEHUB_API_TOKEN=os.environ['HUGGINGFACEHUB_API_TOKEN']
|
18 |
+
# HF_TOKEN=os.environ['HUGGINGFACEHUB_API_TOKEN']
|
19 |
+
|
20 |
+
embeddings = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L12-v2")
|
21 |
+
vector_store= FAISS.load_local("vector_db/", embeddings)
|
22 |
+
|
23 |
+
repo_id="mistralai/Mixtral-8x7B-Instruct-v0.1"
|
24 |
+
llm = HuggingFaceHub(repo_id=repo_id, model_kwargs={"temperature": 0.01, "max_new_tokens": 2048})
|
25 |
+
|
26 |
+
memory = ConversationSummaryBufferMemory(
|
27 |
+
llm=llm,
|
28 |
+
output_key='answer',
|
29 |
+
memory_key='chat_history',
|
30 |
+
return_messages=True)
|
31 |
+
|
32 |
+
retriever = vector_store.as_retriever(
|
33 |
+
search_type="similarity",
|
34 |
+
search_kwargs={"k": 10, "include_metadata": True})
|
35 |
+
|
36 |
+
qa = ConversationalRetrievalChain.from_llm(
|
37 |
+
llm=llm,
|
38 |
+
memory=memory,
|
39 |
+
chain_type="stuff",
|
40 |
+
retriever=retriever,
|
41 |
+
return_source_documents=True,
|
42 |
+
get_chat_history=lambda h : h,
|
43 |
+
verbose=False)
|
44 |
+
|
45 |
+
agent=create_csv_agent(llm,['data/Gretel_Data.csv','data/RAN_Data _T.csv'],verbose=True)
|
46 |
+
|
47 |
+
def echo(message, history):
|
48 |
+
context_prompt = """<s> [INST] Assume the role of Clara, a seasoned senior telecom network engineer with access to troubleshooting tickets data and various technical and product documentation.
|
49 |
+
Rely on information derived from these tickets to address queries. Feel free to seek clarification through relevant questions."""
|
50 |
+
csv_context_prompt = """Assume access to multiple files, including a CSV with ticket details (ticket ID as primary key, columns like network element, location, RCA, status, severity, etc.).
|
51 |
+
The model should refer to the CSV file specifically when users inquire about tickets or related network issues. For other queries, the model can utilize information from the broader context or available data sources as needed."""
|
52 |
+
# message = "Your name is Clara. You are a helpful senior telecom network engineer having access to troubleshooting tickets data and other technical and product documentation.Stick to the knowledge from these tickets. Ask clarification questions if needed. "+ message
|
53 |
+
message= context_prompt + csv_context_prompt + "User Query: "+ message + "Let's think step by step. [/INST]"
|
54 |
+
result=qa({"question":message})
|
55 |
+
bold_answer= "<b>" + result['answer'] + "</b>"
|
56 |
+
return bold_answer + "<br></br>" +'1. ' + str(result["source_documents"][0]) +"<br>" + '2. ' + str(result["source_documents"][1]) + "<br>" + "3. " + str(result["source_documents"][2])
|
57 |
+
def echo_agent(message, history):
|
58 |
+
message="There are 2 df's. If you find a KeyError check for the same in the other df." + "<br>" + message
|
59 |
+
try:
|
60 |
+
with io.StringIO() as buffer:
|
61 |
+
with contextlib.redirect_stdout(buffer):
|
62 |
+
result= agent.run(message)
|
63 |
+
verbose_output = buffer.getvalue()
|
64 |
+
verbose_output = verbose_output.replace("\x1b[36;1m\x1b[1;3m", "")
|
65 |
+
verbose_output = verbose_output.replace("[1m> ", "")
|
66 |
+
verbose_output = verbose_output.replace("[0m", "")
|
67 |
+
verbose_output = verbose_output.replace("[32;1m[1;3m", "")
|
68 |
+
result= "<b>" + verbose_output + "<br>" + result + "</b>"
|
69 |
+
return result
|
70 |
+
except Exception as e:
|
71 |
+
error_message = f"An error occurred: {e}"+str(e.with_traceback) + str(e.args)
|
72 |
+
return error_message
|
73 |
+
|
74 |
+
demo=gr.ChatInterface(
|
75 |
+
fn=echo,
|
76 |
+
chatbot=gr.Chatbot(height=300, label="Hi I am Clara!", show_label=True),
|
77 |
+
textbox=gr.Textbox(placeholder="Ask me a question", container=True, autofocus=True, scale=7),
|
78 |
+
title="Network Ticket Knowledge Management",
|
79 |
+
description="<span style='font-size: 16x;'>Welcome to Verizon Network Operations Center!! I am here to help the Verizon Field Operations team with technical queries & escalation. I am trained on 1000s of RAN, Backhaul, Core network & End user equipment trouble tickets. Ask me!!! ☺</span>",
|
80 |
+
theme=gr.themes.Soft(),
|
81 |
+
examples=["wifi connected but no internet showing", "internet stoped working after primary link down", "internet stoped working link not shifted to secondary after primary link down"],
|
82 |
+
cache_examples=False,
|
83 |
+
retry_btn=None,
|
84 |
+
undo_btn="Delete Previous",
|
85 |
+
clear_btn="Clear",
|
86 |
+
stop_btn="Stop",
|
87 |
+
)
|
88 |
+
|
89 |
+
|
90 |
+
demo1=gr.ChatInterface(
|
91 |
+
fn=echo_agent,
|
92 |
+
chatbot=gr.Chatbot(height=300, label="Hi I am Sam!", show_label=True),
|
93 |
+
textbox=gr.Textbox(placeholder="Ask me a question", container=True, autofocus=True, scale=7),
|
94 |
+
title="LLM Powered Agent",
|
95 |
+
description="<span style='font-size: 16x;'>Welcome to Verizon RAN Visualization & Analytics powered by GEN AI. I have access 100 of metrices generated by a RAN base station and can help in visualizing, correlating and generating insights, using power of Conversational AI ☺</span>",
|
96 |
+
theme=gr.themes.Soft(),
|
97 |
+
retry_btn=None,
|
98 |
+
undo_btn="Delete Previous",
|
99 |
+
clear_btn="Clear",
|
100 |
+
stop_btn="Stop",
|
101 |
+
)
|
102 |
+
demo2=gr.TabbedInterface([demo,demo1],["RAG","AGENT"], title='INCEDO', theme=gr.themes.Soft())
|
103 |
+
demo2.launch()
|
data/Gretel_Data.csv
ADDED
The diff for this file is too large to render.
See raw diff
|
|
data/RAN_Data _T.csv
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
DL MAC Vol Scell Pct,Cat M1 Bearer Setup Failure num,Bearer Setup Failure Voice Num,Avg_Connected_UEs,SIP DC%,UPTP_Mbps,S1U_SIP_SC_SEER,DLRLCLayerDataVolume MB,DRB UL Data Volume MB,Cat M1 Bearer Drop num,HO Failures,Avg_PUCCH_SINR,PRB Util%,HQ_EXE_TOTARGET_FAILURE_QCI_1,DL Packet Loss Pct,Bearer Drop Voice%,Bearer Drops,UL Resid BLER PCT,RRC Setup Attempts,CA DL DataVolRatio Pct den,CA Conf FailRate Pct den,RSSIRX1 Avg,SIP Calls with a Leg,weekend,UPTP Mbps Num,Cat M1 Bearer Setup Failure den,Bearer Setup Failure Voice Den,Setup_Fail_NUM,RSSIRX2 Avg,S1U_SIP_SC_SEER_num,Cat_M1 Bearer Drop den,CA Activation Rate,RSSIRX3 Avg,pct CA ActivatedUE with 1 Scell UL,RSSIRX4 Avg,RRC Setup Failures,hr,Bearer Setup Failure Voice%,MAC_UE_SC_Tput,HQ_EXE_TOTARGET_FAILURE_QCI_1_NUM,Bearer Releases,HO_fail_InterFreq,Combined RACH Failure%,RRC_Reestab_Attempts,HO_fail_PCT_InterFreq,Interference Pwr,qci1_setup_attempts,Avg CQI,CA Activation Rate num,UPTP Mbps Den,Setup_Fail_DEN,PDCCH Util,SIP_SC_Total_MOU,SIP Dropped Calls,UL MAC Vol Scell Pct,S1U_SIP_SC_SEER_den,_80th_percentile_traffic,RSSI Delta,QCI 1 Bearer Drop%,Peak UE,VOLTE IA%,MB_per_connected_UE,PCT Time MIMO,ERAB Setup Fail%,DL Volume,HQ_EXE_TOTARGET_FAILURE_QCI_1_DEN,Combined_RACH_Succ,QCI 1 Bearer Releases,UL Throughput,DL Data Vol MAC in MB,HO Failure%,Access Beyond Cell Range,Call_Drops_Credit,pct CA ActivatedUE with 6 Scell DL,CA Activation Rate den,Combined RACH Preambles,Time,Date,DL MAC Vol Scell MB,pct CA ActivatedUE with 5 Scell DL,Bearer Drop%,pct CA ActivatedUE with 4 Scell DL,Bearer Drops Voice,holiday,pct CA ActivatedUE with 3 Scell DL,VoLTE_MOU,pct CA ActivatedUE with 2 Scell DL,CA DL DataVolRatio Pct,CA Conf FailRate Pct,Combined RACH Failures,pct CA ActivatedUE with 1 Scell DL,RRC Setup Failure% 5G,pct CA ActivatedUE with 0 Scell DL,Cat M1 Bearer Setup Failure pct,Cat M1 Bearer Drop pct,QCI 1 Bearer Drops,SIP_SC_Call_Attempts,Bearer Releases Voice,HO_att_InterFreq,CA DL DataVolRatio Pct num,CA Conf FailRate Pct num,HO Attempts
|
2 |
+
This metric measures the percentage of downlink (DL) MAC (Medium Access Control) volume that is carried over secondary cells. A MAC is a layer in the data link layer of the OSI model that is responsible for controlling access to the medium.,This metric measures the percentage of Cat M1 bearer setup failures. A Cat M1 bearer setup failure occurs when a Cat M1 device is unable to establish a data connection with the network.,Bearer Setup Failure Voice Num is a KPI that measures the numerator (actual failures) of failed bearer setup for voice calls. It counts the instances where the establishment of a communication channel for a voice call failed.,This metric measures the average number of connected UEs in a network. This metric can be used to track the overall performance of the network and to identify areas where capacity may be needed.,"This metric measures the percentage of dropped calls due to SIP (Session Initiation Protocol) errors. SIP is a signaling protocol that is used to establish, maintain, and terminate calls over IP networks.",This metric measures the Uplink Transmission Peak (UPTP) in megabits per second. The UPTP is the maximum data rate that can be supported by the uplink (UL) of a network.,This metric measures the Session Establishment Establish Rate (SEER) for the S1-U interface. The S1-U interface is the interface between the 5G core network and the 5G radio access network.,"Downlink Radio Link Control (RLC) Layer Data Volume in Megabytes (MB). This KPI measures the volume of data transmitted in the RLC layer on the downlink, which is a crucial component of data transmission in wireless networks.",This metric measures the amount of data that is transmitted over the uplink (UL) data radio bearer (DRB) in megabytes (MB). A DRB is a logical connection between a UE and the network that is used to transmit data.,"This metric measures the number of Cat M1 bearer drops. A Cat M1 bearer is a data connection that is used by a Cat M1 device, such as a low-power IoT device.",The number of Handover Failures in that particlar timeframe,This KPI measures the average signal quality on the uplink control channel in a telecommunications network. It indicates how well the signal on this channel can be distinguished from interference and noise.,PRB_Util%: PRB (Physical Resource Block) Utilization Percentage measures the utilization of available physical resource blocks in the network. It reflects how efficiently the available radio resources are being used.,"This KPI may relate to Quality of Service (QoS) targets for High-Quality (HQ) service for QCI (QoS Class Identifier) 1, which is typically used for voice services.",DL Packet loss pct: DL (Downlink) Packet Loss Percentage measures the percentage of data packets lost during transmission in the downlink direction.,Bearer Drop Voice %: Bearer Drop Voice Percentage measures the percentage of voice call bearers that have been dropped or prematurely terminated in the network.,Bearer Drops: Bearer Drops refers to the number of bearer connections that have been prematurely terminated or dropped within the network.,"Uplink (UL) Residual Block Error Rate Percentage. Measures the percentage of residual block errors in the UL, which is a measure of UL signal quality. This indicates the proportion of transmitted data blocks that still contain errors after error correction mechanisms have been applied.",RRC Setup Attempts: RRC (Radio Resource Control) Setup Attempts measures the number of attempts made by User Equipment (UE) to establish an RRC connection with the network.,Carrier Aggregation (CA) Downlink (DL) Data Volume Ratio Percentage (denominator). This KPI likely represents the denominator part of the ratio used to calculate the percentage of data volume in a CA setup. It helps assess the proportion of data transmitted in a Carrier Aggregation scenario.,Carrier Aggregation (CA) Confirmation Failure Rate Percentage (denominator). This KPI measures the percentage of confirmation failures in a Carrier Aggregation setup. The denominator part of this KPI likely represents the total number of attempted CA confirmations. It helps assess the efficiency and success rate of CA confirmations.,Average Received Signal Strength Indicator (RSSI) for RX1. RSSI measures the power level of the signal received by the device or receiver. RX1 likely refers to the first receiver or antenna. This KPI indicates the average signal strength for RX1 over a specific period.,SIP calls with a leg: This KPI may relate to Session Initiation Protocol (SIP) calls with one leg or one side of the call connection.,,UPTP Mbps Num: This KPI may relate to the number of User Plane Throughput (UPTP) in megabits per second (Mbps).,Cat M1 Bearer Setup Failure: This KPI measures the failure rate of Category M1 (Cat-M1) bearer setup attempts in the network.,"Bearer Setup Failure Voice Den is a KPI that measures the denominator (total attempts) of failed bearer setup for voice calls. In other words, it counts the total number of times that a voice call setup was attempted but failed for some reason.","This KPI represents the numerator or total number of failed call setup attempts within the same time period. It includes calls that were not successfully established due to various reasons such as network issues, congestion, authentication failures, or other call setup problems.","Average Received Signal Strength Indicator (RSSI) for RX2.. This KPI represents the average signal strength, but specifically for RX2, which could be another receiver or antenna. It helps assess the signal quality and strength for the second receiver or antenna.",,This metric measures the number of Cat M1 bearer drops per density. This metric can be used to identify areas where Cat M1 devices are experiencing problems connecting to the network.,(Carrier Aggregation Activation Rate): Carrier aggregation is a technology used in mobile networks to combine multiple frequency bands to increase data throughput. The CA Activation Rate measures the percentage of time that carrier aggregation is activated in the network,"Average Received Signal Strength Indicator (RSSI) for RX3. This KPI is analogous to RSSIRX1 Avg and RSSIRX2 Avg but pertains to the third receiver or antenna, RX3. It provides insight into the signal strength and quality for RX3.",Percentage of Carrier Aggregation (CA) Activated User Equipment (UE) with 1 Secondary Cell (Scell) on the Uplink (UL). This KPI quantifies the percentage of UEs that have CA activated with a single Scell for uplink transmission.,"Average Received Signal Strength Indicator (RSSI) for RX4. Similar to the other KPIs, RSSIRX4 Avg represents the average signal strength for the fourth receiver or antenna, RX4. This KPI helps evaluate the signal characteristics for RX4, such as its strength and quality.",,,This KPI represents the percentage of voice call setup failures relative to the total attempted voice call setups. It is calculated using the formula:,"This is a KPI KPI that quantifies the data transfer rate achieved by a single-carrier user equipment in a wireless network, taking into account the performance of the medium access control (MAC) layer.","This KPI in the context of 4G telecommunications is the number of times that a handover from the high-priority queue (HQ) to the target cell failed for QCI 1 users. QCI stands for Quality of Service Class Indicator, and it is used to classify users based on their QoS requirements.","Bearer Releases refer to the termination or release of a communication channel or bearer that was established for a particular service, such as a voice call. This could occur for various reasons, including the completion of the call, user-initiated termination, or network-related issues.",number of handover failures that occur between different frequencies.,percentage of random access channel (RACH) attempts that fail.RACH is used by UEs to initiate a connection with the network,number of times a radio resource control (RRC) reestablishment is attempted,percentage of handover failures that occur between different frequencies.,amount of unwanted radio frequency (RF) energy that is present in a particular channel,,measures the average quality of the radio channel between a user equipment (UE) and the network,This is the numerator for the CA Activation Rate calculation. It typically represents the actual number of times carrier aggregation was activated during the specified time period.,,"This KPI represents the denominator or total number of attempted call setups within a specific time period, which includes both successful and unsuccessful setup attempts. It is used to calculate the failure rate as a percentage (Setup_Fail_NUM / Setup_Fail_DEN).",measures the percentage of time that the PDCCH is being used to transmit control information to user equipment (UEs),"This KPI stands for ""SIP (Session Initiation Protocol) Single Call Total Minutes of Use."" This KPI measures the total duration in minutes of all SIP or VoIP calls that were successfully completed or established during a specific time period. It represents the cumulative call duration of all calls.",percentage of SIP (Session Initiation Protocol) calls that are dropped,"Uplink MAC Volume (Mobile Station Sector) Percentage. This KPI used in telecommunications and networking to measure the percentage of uplink (UL) traffic that is generated by mobile stations (MSs) in a particular sector. This KPI can be used to identify and troubleshoot problems with the UL network, such as congestion or poor signal quality.","This is a KPI in telecommunications and networking that stands for Session Initiation Protocol (SIP) Service Continuity (SC) Session Establishment Success Rate (SEER) Denormalized. It is a measure of the percentage of SIP sessions that successfully establish, regardless of whether they are terminated normally or abnormally",This KPI is the level of traffic that is exceeded by 20% of the users. This metric is used to measure the performance of a network and to identify potential bottlenecks.,"Received Signal Strength Indicator (RSSI) Delta. This KPI measures the difference or change in RSSI values, which indicates variations in signal strength. It can be used to assess signal quality changes and potential interference in the network.","This is a KPI used in telecommunications and networking to measure the percentage of QCI 1 bearers that are dropped. QCI 1 bearers are the highest priority bearers in LTE networks and are used for voice calls and other real-time traffic. A high QCI 1 Bearer Drop% indicates that there are problems with the network's ability to handle real-time traffic, which can lead to poor call quality and dropped calls.","This KPI in telecommunications and networking that measures the maximum number of active UEs that can be supported by a network at a given time. It is an important metric for network operators to track, as it can help them to ensure that their networks have enough capacity to meet the demands of their users.",This KPI used to measure the performance of the VoLTE network in terms of how often users are able to successfully connect to the network when they first attempt to do so,This is a KPI used in telecommunications and networking to measure the average amount of data traffic generated by each connected user equipment (UE). It is calculated by dividing the total amount of data traffic by the number of connected UEs.,This KPI in telecommunications and networking that measures the time it takes for a physical cell to transmit data to multiple users using multiple antennas. PCT Time MIMO is important for ensuring that users in a cell experience good QoS,This KPI in telecommunications and networking that measures the percentage of times that an Enhanced Radio Access Bearer (ERAB) setup fails. An ERAB is a logical connection between a user equipment (UE) and an evolved node B (eNB) in an LTE network. It is used to carry user data traffic.,This KPI that measures the total amount of data downloaded by users over a period of time. It is typically measured in gigabytes (GB) or terabytes (TB).,"This KPI stands for Handover Execution to Target Failure QCI 1 Density. It is a KPI that measures the density of handover execution to target failures for QCI 1 traffic. QCI 1 is a QoS class that is used for conversational services, such as voice calls.",Combined_RACH_Succ stands for Combined Random Access Channel (RACH) Success. It is a KPI that measures the percentage of RACH attempts that are successful. RACH is a procedure used by a mobile device to initiate communication with a cellular network.,"QCI 1 Bearer Releases stands for Quality of Service Class Indicator (QCI) 1 Bearer Releases. It is a KPI that measures the number of QCI 1 bearers that are released. QCI is a QoS class that defines the priority and treatment of a bearer. QCI 1 is the highest priority QCI, and it is used for services that require low latency and high reliability, such as voice and video calls.",UL Throughput stands for Uplink Throughput. It is the maximum amount of data that can be transmitted from a user equipment (UE) to the network in a given amount of time.UL Throughput is measured in bits per second (bps).,This KPI stands for Downlink Data Volume MAC in Megabits. It is a KPI that measures the amount of data that is transmitted from the network to the user equipment (UE) in the MAC layer in megabytes.,HO Failure% stands for Handover Failure Percentage. It is a KPI that measures the percentage of handovers that fail.,"Access Beyond Cell Range (ABCR) is a KPI that measures the number of times a user attempts to access the network outside of the cell's coverage area.
|
3 |
+
A high ABCR KPI can indicate that there are a lot of users that are trying to access the network in areas with poor coverage.",Call Drops Credit is a term used to describe the amount of money that a mobile network operator (MNO) will credit a customer's account for a call that is dropped. A call drop is a situation where a call is disconnected before it is completed.,"Percentage of Carrier Aggregation (CA) Activated User Equipment (UE) with 6 Secondary Cells (Scell) on the Downlink (DL). Similar to the previous KPI, this one quantifies the percentage of UEs that have CA activated, but with six Scells for downlink reception.",This is the denominator for the CA Activation Rate calculation. It typically represents the total number of opportunities or time periods in which carrier aggregation could be activated.,"Combined RACH preambles are a technique used in 5G NR to improve the performance of the random access channel (RACH). The RACH is used by devices to initiate communication with the network. In 4G LTE, devices transmit a single preamble on the RACH. This can lead to collisions, where multiple devices transmit their preambles at the same time and the network cannot distinguish between them. Combined RACH preambles allow devices to transmit multiple preambles at the same time. This reduces the chances of collisions and improves the chances that the network will be able to successfully detect a device's preamble.",Time of data,Date of data,DL MAC vol Scell MB stands for Downlink Medium Access Control (MAC) Volume per Serving Cell in Megabits. It is a key performance indicator (KPI) that measures the average amount of downlink data traffic that is transmitted per serving cell in megabytes.,Percentage of Carrier Aggregation (CA) Activated User Equipment (UE) with 5 Secondary Cells (Scell) on the Downlink (DL). This KPI quantifies the percentage of UEs that have CA activated with five Scells for downlink reception.,"Bearer Drop% is a key performance indicator (KPI) that measures the percentage of times that a bearer is dropped. A bearer is a logical connection between a mobile device and the network. It is used to carry data traffic, such as voice calls and data session",Pct CA ActivatedUE with 4 Scell DL KPI stands for Percentage of Carrier Aggregation (CA) Activated User Equipment (UE) with 4 Downlink (DL) Cells. It is a key performance indicator (KPI) that measures the percentage of UEs that are using carrier aggregation with 4 DL cells.,Bearer Drops Voice is a KPI that measures the number or percentage of voice calls that are dropped or disconnected on a telecommunications network within a specific timeframe.,,Pct CA ActivatedUE with 3 EScell DL kpi in telecommunications stands for Percentage of Carrier Aggregation (CA) Activated User Equipment with 3 Enhanced Serving Cells (EScell) Downlink. It is a key performance indicator (KPI) that measures the percentage of user equipment (UE) that are connected to three or more enhanced serving cells (EScells) in the downlink.,VoLTE_MOU stands for Voice over LTE (VoLTE) Minutes of Use. It is a key performance indicator (KPI) that measures the number of minutes of voice traffic that is carried over the LTE network.,Pct CA ActivatedUE with 2 Scell DL stands for Percentage of Carrier Aggregation (CA) Activated Users with 2 Downlink (DL) Cells. It is a key performance indicator (KPI) that measures the percentage of users who are using CA with two DL cells.,This KPI measures the percentage of downlink (data received by the user) data volume that is being efficiently distributed across the aggregated carriers. It helps assess how well the network is utilizing carrier aggregation for downlink data.,This KPI measures the percentage of times that carrier aggregation configuration attempts have failed. Configuration failures can occur when attempting to set up carrier aggregation,This metric measures the number of combined RACH failures. A RACH failure occurs when a UE is unable to send a random access (RACH) message to the network. A combined RACH failure occurs when a UE is unable to send a RACH message to the network and then also fails to establish a data connection.,Pct CA ActivatedUE with 1 Scell DL stands for Percentage of Carrier Aggregation (CA) Activated Users with 1 Downlink (DL) Cells. It is a key performance indicator (KPI) that measures the percentage of users who are using CA with one DL cell.,This metric measures the percentage of RRC (Radio Resource Control) setup failures in a 5G network. The RRC is a layer in the control plane of the 5G network that is responsible for managing the radio resources.,Pct CA ActivatedUE with 0 Scell DL stands for Percentage of Carrier Aggregation (CA) Activated Users with 0 Downlink (DL) Cells. It is a key performance indicator (KPI) that measures the percentage of users who are using CA with zero DL cells.,This KPI is used to evaluate the reliability and success rate of setting up communication channels (bearers) for IoT devices in a Cat M1 cellular network. It provides insights into how effectively the network can establish connections with IoT devices.,"This is a KPI that quantifies the reliability of data communication for IoT devices in a Category M1 cellular network. It measures the proportion of bearers that experience drops, which can disrupt the flow of data between IoT devices and the network.",QCI 1 Bearer Drops in the context of 4G telecommunications is the number of times that a dedicated bearer with QCI 1 is dropped. QCI 1 is the highest priority bearer and is used for real-time traffic such as voice calls.,This KPI represents the total number of SIP or VoIP call attempts made within a specific time period or on a particular network or system. Each call attempt typically corresponds to a user-initiated or system-initiated request to establish a SIP or VoIP call. It includes both successful and unsuccessful call attempts.,This KPI specifically focuses on the release of communication channels or bearers that were established for voice calls. It measures the number or percentage of voice calls that have been successfully terminated or released.,,"Carrier Aggregation (CA) Downlink (DL) Data Volume Ratio Percentage (numerator). This KPI is related to the previous one but represents the numerator, which likely indicates the actual data volume in a CA setup. It helps quantify the amount of data transmitted in a Carrier Aggregation scenario.","Carrier Aggregation (CA) Confirmation Failure Rate Percentage (numerator). This KPI is related to CA Confirmation Failure Rate Percentage but represents the numerator, which likely indicates the number of failed CA confirmations. It helps quantify the number of failures in CA confirmations, which can be crucial for troubleshooting and optimizing network performance.",HO Attempts in the context of 4G telecommunications is the number of times that a handover is attempted.
|
4 |
+
,,,,,,,MB (Megabyte),,,,dB (decibel),,,,,,%,,Count,count,dBm (decibel-milliwatt),,,,,,,dBm (decibel-milliwatt),,,%,dBm (decibel-milliwatt),%,dBm (decibel-milliwatt),,,,,,,,,,,,,,Count,,,,,,,,,dB (decibel),,,,,,,,,,,,,,,,%,Count,,,,,%,,,,,,,,%,%,,,,,,,,,,,Count,Count,
|
requirements.txt
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
langchain==0.1.0
|
2 |
+
torch==2.1.0
|
3 |
+
faiss-cpu==1.7.4
|
4 |
+
git+https://github.com/huggingface/transformers
|
5 |
+
accelerate==0.26.0
|
6 |
+
sentence-transformers==2.2.2
|
7 |
+
gradio==4.14.0
|
8 |
+
langchain-experimental==0.0.49
|
9 |
+
pypdf==3.17.4
|
10 |
+
python-dotenv==1.0.0
|
11 |
+
tabulate
|
12 |
+
llama-cpp-python
|
vector_db/index.faiss
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1ae98c9f98b4268c5136690d0042b7f7676b74dba688aff85151b20334065154
|
3 |
+
size 337529901
|
vector_db/index.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c14effb89aece5cea43472a552b0e76476f3fededf4d361a0bdc59fe289f8f8a
|
3 |
+
size 53605490
|