docs: add guide for running the service locally as an API endpoint#259
Merged
Conversation
Replace the PRM-specific running_with_prm.md with running_locally.md: a general guide to building the service and calling it as an OpenAI-compatible endpoint. Leads with the no-GPU self_consistency path; PRM and local generation are covered as the GPU section. Cross-links api_guide.md.
smirnovlad-test
approved these changes
Jun 30, 2026
smirnovlad
added a commit
that referenced
this pull request
Jun 30, 2026
Lead the CTA with the in-browser demo (http://demo-thinkbooster.nlpresearch.group, verified up). Note the http-only/ephemeral-pod caveat in the pre-publish checklist; mark PR #259 (service guide) merged.
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
docs/service/running_locally.md— a general guide for building the ThinkBooster service locally and calling it as an OpenAI-compatible endpoint, with the scaling strategy and scorer in the URL.It leads with the no-GPU path (
self_consistencyagainst a remote model), then covers beam search / best-of-N with the uncertainty scorers, and folds the PRM scorer and local generation into one GPU section (env vars, Docker GPU override, thetts_api_keyremote-generation routing). Cross-linksapi_guide.mdfor the full parameter and metadata reference.This replaces the earlier PRM-specific draft on the branch — the guide is now general and not PRM-named. The launch article (#258) links here for the "run it as a service" path. All referenced files (docker-compose.yml, service_app/Dockerfile, .env.example, the
[service]extra) are verified present on main.