惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
有赞技术团队
有赞技术团队
博客园_首页
IT之家
IT之家
爱范儿
爱范儿
量子位
小众软件
小众软件
Jina AI
Jina AI
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
The Cloudflare Blog
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
雷峰网
雷峰网
V
Visual Studio Blog
博客园 - Franky
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
美团技术团队
Last Week in AI
Last Week in AI
S
SegmentFault 最新的问题

Hacker News - Newest: "LLM"

GitHub - lechmazur/position_bias: A benchmark for testing whether LLM judges keep the same preference when two lightly edited versions of the same story are shown in opposite orders. Flex routing (EU and EFTA) Dark Factories: Retooling for LLM Velocity Ask HN: What would be the impact of a LLM output injection attack? GitHub - Oaklight/llm-rosetta: Production-ready LLM API translation layer for Python — bidirectional conversion between OpenAI, Anthropic & Google formats via hub-and-spoke IR. Optional API gateway. Streaming & non-streaming. Zero core deps. Contributions welcome! GitHub - browser-use/browser-harness: Self-healing browser harness that enables LLMs to complete any task. GitHub - moeen-mahmud/remen: Remen turns thoughts into something you can return to Analyzing 156 LLM Launch Posts on Hacker News ChatGPT vs Gemini vs Claude: The Best LLM Subscription You Should Buy GitHub - salaamalykum/quran-semantic-search: High-density RAG Semantic Search Engine & Quran Corpus (GEO/SEO Architecture) GitHub - NVIDIA/TensorRT-LLM: TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that orchestrate the inference execution in a performant way. The State of LLM Bug Bounties in 2026 Operational Readiness Criteria for Tool-Using LLM Agents Meshcore: Architecture for a Decentralized P2P LLM Inference Network How an LLM becomes more coherent as we train it GitHub - seetrex-ai/laimark GitHub - Jossifresben/BibCrit: AI-assited biblical textual criticism GitHub - wastedcode/memex: File system based wiki, maintained by Claude 99helpers.com GitHub - cliver-project/AITrigram GitHub - unbody-io/adapt: A self-evolving memory layer for AI agents. GitHub - hb20007/awesome-gen-ai-fails: A list of incidents where reliance on generative AI and LLMs resulted in harm to companies, individuals, or society GitHub - nevenkordic/localmind: Run any local LLM with persistent memory and context. CLI agent over Ollama with SQLite-backed hybrid recall. No cloud. Ask HN: What are the machine requirements for a LLM like Llama-3.1-8B? Faster LLM Inference via Sequential Monte Carlo grpo explained: group relative policy optimization for llm finetuning - cgft Stop comparing price per million tokens: the hidden LLM API costs · TensorZero Andrej Karpathy's LLM Wiki Is a Bad Idea GitHub - GG-QandV/mnemostroma: Offline RAM-first cognitive leer/coprocessor for AI agents and robotics. Solves "Context Abandonment" with 20-80ms latency using a dual-thread biomimetic memory architecture (ONNX + SQLite WAL). mempalace/agent at agent · skorotkiewicz/mempalace
GitHub - sauravGit/open-llm-observability: A vendor-neutr...
packydarn · 2026-05-06 · via Hacker News - Newest: "LLM"

A vendor-neutral, OpenTelemetry-compatible semantic convention and SDK layer for standardizing LLM observability across any provider, framework, or platform.


The Problem

Every LLM platform emits observability data differently.
Tokens are named differently. Latency is measured differently. Cost is tracked differently — or not at all.
Developers re-instrument for every new backend.

The Solution

One canonical schema. One SDK. Export everywhere.

open-llm-observability defines:

  • A universal set of metric names, span attributes, and resource tags for LLM workloads
  • A lightweight instrumentation SDK (Python + TypeScript) that you add once
  • Pluggable exporters to Prometheus, Grafana, Datadog, GCP, and any OTEL-compatible backend

Canonical Metric Names (excerpt)

Metric Type Description
gen_ai.requests.total Counter Total inference requests
gen_ai.latency Histogram End-to-end latency (ms)
gen_ai.time_to_first_token Histogram Streaming first-token latency
gen_ai.usage.total_tokens Histogram Total tokens consumed
gen_ai.usage.cost Histogram Estimated USD cost
gen_ai.requests.errors.total Counter Failed requests

Full schema: RFC.md


Quick Start (Python)

from open_llm_obs import instrument

instrument(provider="openai", export_to="otlp")

# Your existing OpenAI calls are now fully instrumented

Architecture

Your LLM App
    └── open-llm-observability SDK
            ├── Canonical metric names & span attributes (RFC.md)
            ├── OTLP exporter (traces + metrics + logs)
            └── Pluggable adapters
                    ├── Prometheus
                    ├── Grafana
                    ├── Datadog
                    └── GCP Cloud Monitoring

Semantic Convention (summary)

Resource Attributes

  • service.name, service.version, deployment.environment
  • gen_ai.provider, gen_ai.model, gen_ai.app.name, gen_ai.region

Span Names

  • gen_ai.request, gen_ai.stream, gen_ai.tool_call, gen_ai.retrieval, gen_ai.guardrail, gen_ai.embedding

Derived KPIs

  • Success rate, error rate by model, average cost per request, P95 latency by route, token efficiency, retrieval yield

See RFC.md for the full specification.


Status

  • RFC v0.1 draft
  • Python SDK (in progress)
  • TypeScript SDK
  • Adapters: Prometheus, Grafana, Datadog, GCP
  • Default dashboards

Contributing

This project is in active RFC phase. Open a Discussion to provide feedback on:

  • Metric naming conventions
  • Scope of the mandatory core vs. optional domain extension packs
  • OTEL semantic convention mapping
  • Backend adapter priorities

License

Apache 2.0 — see LICENSE