PostHog / PostHog/posthog-ruby

Feature Request: Support for LLM analytics with the Ruby SDK

Open
#145 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement team/llm-analytics
Dominant language
Ruby
Stars
36
Forks
34
Avg merge
1d 13h
Merged PRs (30d)
18

Description

Feature request

Is your feature request related to a problem?

Supporting LLM analytics natively with the Ruby SDK can simplify implementations for users of frameworks like RubyLLM. Currently, they have to use manual capture.

Describe the solution you'd like

Native LLM analytics integration in the Ruby SDK.

Describe alternatives you've considered

Using manual capture.

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/36785 (moved to PostHog: https://us.posthog.com/project/2/support/tickets/38229)

Debug info
Kind: support

Target area: sdk

Report event: http://go/ticketByUUID/d8878045-ad91-449d-be40-5a73b3034882

Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/0198eb67-e77e-7ed0-951f-4c734901a576?t=342

Exceptions: https://us.posthog.com/project/2/error_tracking?filterGroup=%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22key%22%3A%22%24session_id%22%2C%22value%22%3A%5B%220198eb67-e77e-7ed0-951f-4c734901a576%22%5D%2C%22operator%22%3A%22exact%22%2C%22type%22%3A%22event%22%7D%5D%7D%5D%7D

Location: https://us.posthog.com/project/163120/llm-analytics

Persons-on-events mode for project: person_id_override_properties_on_events

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the Ruby SDK context, the RubyLLM integration use case, and the linked manual-capture documentation. Clarify which LLM analytics capabilities and SDK API are required before implementation. Done means Ruby users can use native LLM analytics instead of manual capture, with the supported scope agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.