Skip to main content

AIaaS Falcon Observability

Falcon Observability

The Falcon Observability project is a Streamlit-based application designed for comprehensive log analytics and performance evaluation of AI models. This tool offers insightful visualizations and metrics derived from log data, enabling users to assess model behavior, track performance indicators, and conduct cost analysis for Azure services based on token usage.

Features

Log Analytics and Visualization

·        Date Range Selection: Allows users to select date ranges for log analysis.

·        Time Filtering: Provides the option to filter logs based on specified start and end times.

·        Filter ID Input: Enables users to input a filter ID for more granular log retrieval.

·        Log Display: Renders log data in a table format using Streamlit's st.data_editor.

·        Request Flow Visualization: Generates a line chart using Plotly Express to visualize the flow of requests over time.

·        Average Token Count Visualization: Displays the average token count over time in a line chart.

Performance Analysis

·        Metrics Overview: Presents metrics such as total requests, average perplexity, toxicity, ARI (Automated Readability Index), Flesch-Kincaid Grade (FKG), total/request token count, and average token count.

·        Performance Metrics Visualization: Offers a detailed analysis of model performance metrics (e.g., Perplexity, Toxicity, ARI, FKG) over time through line chart visualizations.

Cost Analysis (Azure)

·        Token-Based Cost Calculation: Computes and displays costs for Azure services based on token usage rates.

·        Price Visualization: Illustrates the calculated prices for request and response tokens in a line chart and table format.

User Interface and Interaction

·        Sidebar Selection: Allows users to choose between 'Online' or 'Local' mode for log retrieval.

·        Form Submission: Utilizes Streamlit forms for submitting date range, time, and filter criteria.

·        Expander for Data Selection: Provides an expandable interface for users to select log data based on specified criteria.

·        Performance Analysis Trigger: Allows users to trigger the analysis of model performance metrics with a button click.

Session State Management

·        State Persistence: Uses Streamlit's session state (st.session_state) to manage and update various analytics results, loading states, and dataframes.

Installation

Clone the repository and install the required dependencies:

pip install falcon_observability

Usage

Starting the Service

from falcon_observability.main import FalconObservability
server=FalconObservability(port=8555)
server.start()

Manage Service

server.status()

Stop Service

server.stop()

Metadata

Release files for falcon-observability 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for falcon-observability 0.1.0
File Size Uploaded
falcon_observability-0.1.0.tar.gz 64.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for falcon-observability 0.1.0
File Interpreter ABI Platform
falcon_observability-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 128.3 kB

Release files / falcon_observability-0.1.0.tar.gz

Download URL falcon_observability-0.1.0.tar.gz
Size 64.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b8565322ed834fa90bf0cc73560e3953cb27a63402660c14dafe57a43db611c0
BLAKE2b-256 checksum
How to use checksums
65322e48eea0dce7447261b2bf71cb04d36cd659432266746625675653ff1a75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.8.8 Darwin/23.0.0

Release files / falcon_observability-0.1.0-py3-none-any.whl

Download URL falcon_observability-0.1.0-py3-none-any.whl
Size 64.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3a7e9350163dc02336b4caf24acd3f749a0772daed8424b9f62e65077fb07128
BLAKE2b-256 checksum
How to use checksums
47218daae990c1810d169d02d4fc3cd18e48cffcd483bf223d397c83a0b6df81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.8.8 Darwin/23.0.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page