PostHog / PostHog/posthog

Custom API base URLs for evaluations

Open
#47,243 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Feature request

Is your feature request related to a problem?

Evaluations are also normally used to test custom models or different API providers for their responses to prompts. In my specific use case, this is essential to be able to test the models I use on my workflow.

Describe the solution you'd like

Implementation of custom OpenAI-compatible API providers with a set API base url endpoint and models fetching from /models endpoint.

Debug info
- [x] PostHog Cloud

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

The issue names no files, tests, or entry points. Start by tracing how evaluations configure providers and fetch models, then inspect the existing OpenAI-compatible request path. Done means evaluations can use a configured API base URL, retrieve models from its /models endpoint, and run prompts against the selected provider.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ai, api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.