MCPcopy
hub / github.com/mudler/LocalAI / LocalAIRequest

Interface LocalAIRequest

core/schema/request.go:4–6  ·  view source on GitHub ↗

This file and type represent a generic request to LocalAI - as opposed to requests to LocalAI-specific endpoints, which live in localai.go

Source from the content-addressed store, hash-verified

2
3// This file and type represent a generic request to LocalAI - as opposed to requests to LocalAI-specific endpoints, which live in localai.go
4type LocalAIRequest interface {
5 ModelName(*string) string
6}
7
8// @Description BasicModelRequest contains the basic model request fields
9type BasicModelRequest struct {

Callers 3

SetModelAndConfigMethod · 0.65
RouteModelFunction · 0.65
anthropic_test.goFile · 0.65

Implementers 9

OpenResponsesRequestcore/schema/openresponses.go
ElevenLabsTTSRequestcore/schema/elevenlabs.go
ElevenLabsSoundGenerationRequestcore/schema/elevenlabs.go
OllamaChatRequestcore/schema/ollama.go
OllamaGenerateRequestcore/schema/ollama.go
OllamaEmbedRequestcore/schema/ollama.go
OllamaShowRequestcore/schema/ollama.go
AnthropicRequestcore/schema/anthropic.go
BasicModelRequestcore/schema/request.go

Calls

no outgoing calls

Tested by

no test coverage detected