docs: add OpenAI-compatible API server documentation#437
Open
JasonOA888 wants to merge 1 commit intomicrosoft:mainfrom
Open
docs: add OpenAI-compatible API server documentation#437JasonOA888 wants to merge 1 commit intomicrosoft:mainfrom
JasonOA888 wants to merge 1 commit intomicrosoft:mainfrom
Conversation
Addresses microsoft#432 ## Summary - Document the built-in llama-server HTTP endpoint - Provide OpenAI-compatible API usage examples - Fix typo: 'will coming' -> 'will be coming' - Enable drop-in integration with LangChain, Open WebUI, etc. ## Changes - README.md: Added 'OpenAI-Compatible API Server' section - README.md: Fixed NPU support description typo ## Why This Matters Users don't know that BitNet includes a fully OpenAI-compatible API server. This documentation enables: - Drop-in replacement for OpenAI API in existing tools - Persistent model loading (no cold-start per request) - Integration with job queues and proxy layers ## Test Plan - [x] Verified llama-server binary exists in build/bin/ - [x] Tested curl examples against running server - [x] Verified Python SDK integration - [x] Checked LangChain example
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.
Addresses #432, Fixes #435
Summary
Changes
Why This Matters
Users don't know BitNet includes an OpenAI-compatible API server. This enables:
Test plan