Skip to content

docs: explain Python text completion choices - #2432

Open
cloudgpuapp wants to merge 2 commits into
abetlen:mainfrom
cloudgpuapp:docs/python-completion-choices-1130
Open

cloudgpuapp wants to merge 2 commits into
abetlen:mainfrom
cloudgpuapp:docs/python-completion-choices-1130

Conversation

@cloudgpuapp

Copy link
Copy Markdown
Contributor

Summary

Document the single entry returned by non-streaming Python text completion and show how to collect several candidates with separate calls and different sampling seeds. The example also explains that different seeds can yield identical text.

Addresses the documentation question in #1130. The API behavior is unchanged.

Validation

  • Executed the README example against the upstream Python completion method and response construction with a stub sampler. Verified the three seeds and extracted strings.
  • Ruff lint and format checks and git diff --check passed.
  • No native model inference or full test suite was run.

AI assisted with drafting and the offline verification.

Explain one choice per non-streaming Python text completion and show how to sample alternatives.
Remove the duplicate copy introduced by the web editor.
@cloudgpuapp cloudgpuapp changed the title Docs/python completion choices 1130docs: explain Python text completion choices docs: explain Python text completion choices Nov 22, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant