Repository navigation
feat: add llmman sample as a local model provider - #627
Merged
Merged
Conversation
|
|
llmman (https://github.com/llmmanorg/llmman) is a local model runner serving Ollama-, OpenAI- and Anthropic-compatible APIs on port 17434. This repo integrates Ollama via its OpenAI-compatible /v1 endpoint in the examples, so llmman is added the same way: a minimal chat sample modelled on LangChain.Samples.OpenAI honouring LLMMAN_HOST, registered in LangChain.slnx, plus a one-line pointer in the LocalRAG sample. Signed-off-by: Eric Curtin <eric.curtin@docker.com>
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 llmman, a local model runner that serves Ollama-, OpenAI- and Anthropic-compatible APIs on port 17434.
/v1endpoint rather than a provider package, so llmman is added the same way.examples/LangChain.Samples.Llmman: minimal chat sample modelled onLangChain.Samples.OpenAI, pointingOpenAIClientathttp://127.0.0.1:17434/v1(modelgemma4). HonoursLLMMAN_HOST([host][:port]) likeOLLAMA_HOST; uses a placeholder API key since llmman needs none.LangChain.slnx: registers the sample under/Samples/(alphabetical).examples/LangChain.Samples.LocalRAG/Program.cs: one-line comment that llmman serves the same API on port 17434.Testing: .NET SDK 10.0.400:
dotnet buildof the new sample andLangChain.Samples.LocalRAG(0 warnings, 0 errors),dotnet format --verify-no-changeson the new project,dotnet sln LangChain.slnx listresolves it. Not run against a live llmman server.