Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YEDASAVG/Stratum
/ functions
Functions
366 in github.com/YEDASAVG/Stratum
⨍
Functions
366
◇
Types & classes
139
↓ 83 callers
Function
cn
(...inputs: ClassValue[])
dashboard/src/lib/utils.ts:6
↓ 76 callers
Method
get
Get parser by name
crates/logai-core/src/parser/mod.rs:53
↓ 63 callers
Method
with_field
(mut self, key: &str, value: Value)
crates/logai-cli/src/simulate.rs:95
↓ 56 callers
Method
as_str
(&self)
crates/logai-rag/src/llm_client.rs:46
↓ 23 callers
Method
parse
parse using speicified format
crates/logai-core/src/parser/mod.rs:58
↓ 20 callers
Method
with_trace_id
(mut self, id: &str)
crates/logai-cli/src/simulate.rs:90
↓ 18 callers
Method
query
( &self, user_query: &str, logs: Vec<String>, )
crates/logai-rag/src/engine.rs:165
↓ 7 callers
Method
parse
(&self, raw: &str)
crates/logai-core/src/parser/proxmox.rs:77
↓ 7 callers
Method
register
register a parser
crates/logai-core/src/parser/mod.rs:47
↓ 6 callers
Method
analyze
(&self, query: &str)
crates/logai-rag/src/query_analyzer.rs:53
↓ 6 callers
Function
useSidebar
()
dashboard/src/components/ui/sidebar.tsx:52
↓ 5 callers
Function
dispatch
(action: Action)
dashboard/src/hooks/use-toast.ts:132
↓ 5 callers
Method
generate
Generate text from prompt (returns GroqError for internal use)
crates/logai-rag/src/groq_client.rs:78
↓ 5 callers
Function
get_string
( payload: &HashMap<String, qdrant_client::qdrant::Value>, key: &str, )
crates/logai-api/src/handlers/mod.rs:15
↓ 5 callers
Method
rerank
Rerank logs by combining semantic score with keyword overlap most imp
crates/logai-rag/src/reranker.rs:22
↓ 5 callers
Method
severity_score
(&self)
crates/logai-rag/src/causal.rs:90
↓ 4 callers
Function
useSettings
()
dashboard/src/hooks/use-settings.ts:7
↓ 3 callers
Method
analyze
Main entry point: analyze logs and build causal chain
crates/logai-rag/src/causal.rs:137
↓ 3 callers
Method
process_anomalies
process detected anomalies and return alerts that should be sent
crates/logai-anomaly/src/alerting.rs:61
↓ 3 callers
Method
run
(&mut self)
crates/logai-anomaly/src/runner.rs:51
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
dashboard/src/hooks/use-toast.ts:57
↓ 2 callers
Method
analyze_query
get analyzed query (for API to use in search)
crates/logai-rag/src/engine.rs:272
↓ 2 callers
Method
build_query_analysis
(&self, analyzed: &AnalyzedQuery)
crates/logai-rag/src/engine.rs:260
↓ 2 callers
Method
check_rule
check a single rule and return any detected anomalies
crates/logai-anomaly/src/detection.rs:32
↓ 2 callers
Function
check_status
( client: &reqwest::Client, api_url: &str, )
crates/logai-cli/src/main.rs:321
↓ 2 callers
Method
classify
(&self, prompt: &str)
crates/logai-rag/src/engine.rs:305
↓ 2 callers
Method
from
(c: CausalChain)
crates/logai-api/src/models/response.rs:90
↓ 2 callers
Function
generate_normal_flow
(request_id: &str, user_id: &str, state: &SimulatorState, rng: &mut impl Rng)
crates/logai-cli/src/simulate.rs:321
↓ 2 callers
Method
get_metric
get metric value from clickhouese
crates/logai-anomaly/src/detection.rs:200
↓ 2 callers
Method
get_stats
(&self)
crates/logai-cli/src/stress.rs:93
↓ 2 callers
Method
handle_search_query
( &self, user_query: &str, logs: Vec<String>, analyzed: &AnalyzedQuery, )
crates/logai-rag/src/engine.rs:240
↓ 2 callers
Function
isActivePathname
( basePathname: string, currentPathname: string, exactMatch: boolean = false )
dashboard/src/lib/utils.ts:29
↓ 2 callers
Function
load_config
(path: P)
crates/logai-anomaly/src/config.rs:154
↓ 2 callers
Function
print_wrapped
Print text with word wrapping
crates/logai-cli/src/main.rs:1163
↓ 2 callers
Function
process_chat_message
( client: &reqwest::Client, api_url: &str, session_id: &str, message: &str, history: &mut
crates/logai-cli/src/main.rs:1031
↓ 2 callers
Method
query_with_intent
Query with explicit intent override (for follow-up queries where intent was pre-analyzed)
crates/logai-rag/src/engine.rs:174
↓ 2 callers
Method
record_failure
(&self, count: u64)
crates/logai-cli/src/stress.rs:88
↓ 2 callers
Method
record_success
(&self, count: u64, latency: Duration)
crates/logai-cli/src/stress.rs:80
↓ 2 callers
Method
send_alert
send an alert to stack
crates/logai-anomaly/src/slack.rs:52
↓ 2 callers
Method
set_cooldown
set cooldown for a rule called when loading config
crates/logai-anomaly/src/alerting.rs:56
↓ 1 callers
Function
ask_ai
( client: &reqwest::Client, api_url: &str, question: &str, )
crates/logai-cli/src/main.rs:203
↓ 1 callers
Method
build_chain_backward
Build causal chain by going backward in time
crates/logai-rag/src/causal.rs:210
↓ 1 callers
Method
build_context
(&self, logs: &[String])
crates/logai-rag/src/engine.rs:276
↓ 1 callers
Function
build_conversation_context
(history: &[ChatMessage])
crates/logai-api/src/handlers/chat.rs:391
↓ 1 callers
Method
build_message
Build Slack message form alert
crates/logai-anomaly/src/slack.rs:78
↓ 1 callers
Method
build_prompt
(&self, query: &str, context: &str)
crates/logai-rag/src/engine.rs:281
↓ 1 callers
Function
check_anomalies
( client: &reqwest::Client, api_url: &str, service_filter: Option<String>, )
crates/logai-cli/src/main.rs:808
↓ 1 callers
Method
check_statistical
Statistical detection: check if current value exceeds baseline + (sigma + stddev)
crates/logai-anomaly/src/detection.rs:110
↓ 1 callers
Method
check_threshold
( &self, rule: &Rule, service: &str, metric: Metric, operator: crate::
crates/logai-anomaly/src/detection.rs:163
↓ 1 callers
Function
classify_query_intent
(rag_engine: &logai_rag::RagEngine, last_query: &str, new_query: &str)
crates/logai-api/src/handlers/chat.rs:406
↓ 1 callers
Method
clean_query
(&self, query: &str)
crates/logai-rag/src/query_analyzer.rs:160
↓ 1 callers
Function
compute_keyword_score
(query_words: &[&str], log: &str)
crates/logai-rag/benches/rag.rs:72
↓ 1 callers
Method
compute_keyword_score
(&self, query_words: &[&str], log: &str)
crates/logai-rag/src/reranker.rs:55
↓ 1 callers
Function
create_logs_table
(client: &Client)
crates/logai-worker/src/main.rs:151
↓ 1 callers
Function
detect_intent
(query: &str)
crates/logai-rag/benches/rag.rs:152
↓ 1 callers
Method
detect_intent
(&self, query: &str)
crates/logai-rag/src/query_analyzer.rs:74
↓ 1 callers
Function
dismiss
()
dashboard/src/hooks/use-toast.ts:149
↓ 1 callers
Function
embed_and_store
Generate embedding for a log and store in Qdrant
crates/logai-worker/src/main.rs:109
↓ 1 callers
Method
evaluate
evaluate comparison
crates/logai-anomaly/src/config.rs:117
↓ 1 callers
Method
extract_level
(&self, query: &str)
crates/logai-rag/src/query_analyzer.rs:143
↓ 1 callers
Method
extract_service
(&self, query: &str)
crates/logai-rag/src/query_analyzer.rs:139
↓ 1 callers
Method
extract_time_range
(&self, query: &str, now: DateTime<Utc>)
crates/logai-rag/src/query_analyzer.rs:100
↓ 1 callers
Function
fetchAnomalies
()
dashboard/src/lib/api.ts:150
↓ 1 callers
Function
fetchLogs
(params?: { service?: string level?: string search?: string limit?: number offset?: number })
dashboard/src/lib/api.ts:78
↓ 1 callers
Function
fetchServices
()
dashboard/src/lib/api.ts:174
↓ 1 callers
Function
fetchStats
()
dashboard/src/lib/api.ts:144
↓ 1 callers
Method
find_effect
Find the most severe recent error (the "effect" we're investigating)
crates/logai-rag/src/causal.rs:201
↓ 1 callers
Function
find_effect_timestamp
Find the timestamp of the most severe ERROR from search results This will be used as the "effect" for causal chain analysis
crates/logai-api/src/handlers/chat.rs:472
↓ 1 callers
Function
formatTimestamp
(ts: string)
dashboard/src/app/(dashboard-layout)/logs/page.tsx:89
↓ 1 callers
Function
genId
()
dashboard/src/hooks/use-toast.ts:21
↓ 1 callers
Function
generateLogBatch
(size)
benches/loadtest.js:92
↓ 1 callers
Function
generate_auth_attack_flow
(request_id: &str, state: &SimulatorState, rng: &mut impl Rng)
crates/logai-cli/src/simulate.rs:541
↓ 1 callers
Function
generate_db_slow_flow
(request_id: &str, user_id: &str, state: &SimulatorState, rng: &mut impl Rng)
crates/logai-cli/src/simulate.rs:491
↓ 1 callers
Function
generate_logs
(scenario: &Scenario, state: &mut SimulatorState)
crates/logai-cli/src/simulate.rs:283
↓ 1 callers
Function
generate_payment_outage_flow
(request_id: &str, user_id: &str, state: &SimulatorState, rng: &mut impl Rng)
crates/logai-cli/src/simulate.rs:387
↓ 1 callers
Function
generate_raw_batch
(format: &str, batch_size: usize)
crates/logai-cli/src/stress.rs:155
↓ 1 callers
Method
generate_recommendation
Generate fix recommendation
crates/logai-rag/src/causal.rs:388
↓ 1 callers
Function
generate_structured_batch
(batch_size: usize)
crates/logai-cli/src/stress.rs:107
↓ 1 callers
Method
generate_summary
Generate human-readable summary
crates/logai-rag/src/causal.rs:342
↓ 1 callers
Function
getSessionId
()
dashboard/src/lib/api.ts:48
↓ 1 callers
Method
get_baseline
Get baseline avg and std deviation from clikchouse
crates/logai-anomaly/src/detection.rs:238
↓ 1 callers
Method
get_services
Get list of services matching the patterns
crates/logai-anomaly/src/detection.rs:90
↓ 1 callers
Function
handleSend
()
dashboard/src/app/(dashboard-layout)/chat/page.tsx:83
↓ 1 callers
Method
handle_causal_query
( &self, user_query: &str, logs: Vec<String>, analyzed: &AnalyzedQuery, )
crates/logai-rag/src/engine.rs:210
↓ 1 callers
Function
ingest_file
( client: &reqwest::Client, api_url: &str, file_path: &str, format: &str, service: &str,
crates/logai-cli/src/main.rs:387
↓ 1 callers
Function
insert_log
(client: &Client, entry: &LogEntry)
crates/logai-worker/src/main.rs:174
↓ 1 callers
Function
interactive_chat
Interactive chat mode - the core debugging experience
crates/logai-cli/src/main.rs:899
↓ 1 callers
Function
loadAnomalies
()
dashboard/src/app/(dashboard-layout)/anomalies/page.tsx:31
↓ 1 callers
Method
model
(&self)
crates/logai-rag/src/groq_client.rs:131
↓ 1 callers
Method
name
(&self)
crates/logai-core/src/parser/nginx.rs:57
↓ 1 callers
Method
provider
(&self)
crates/logai-rag/src/groq_client.rs:135
↓ 1 callers
Function
randomLevel
()
benches/loadtest.js:62
↓ 1 callers
Function
randomMessage
()
benches/loadtest.js:74
↓ 1 callers
Function
randomService
()
benches/loadtest.js:57
↓ 1 callers
Function
reducer
(state: State, action: Action)
dashboard/src/hooks/use-toast.ts:73
↓ 1 callers
Function
renderMenuItem
(item: NavigationRootItem | NavigationNestedItem)
dashboard/src/components/layout/command-menu.tsx:69
↓ 1 callers
Function
renderMenuItem
(item: NavigationRootItem | NavigationNestedItem)
dashboard/src/components/layout/sidebar.tsx:41
↓ 1 callers
Function
rerank
(query: &str, logs: &[(String, f32)])
crates/logai-rag/benches/rag.rs:95
↓ 1 callers
Method
score_causality
Ask LLM: "Did A cause B?"
crates/logai-rag/src/causal.rs:273
↓ 1 callers
Function
searchLogs
(params: { query: string service?: string level?: string limit?: number })
dashboard/src/lib/api.ts:112
next →
1–100 of 366, ranked by callers