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

Method parse

pkg/functions/peg/parser.go:5–5  ·  view source on GitHub ↗
(arena *Arena, ctx *ParseContext, start int)

Source from the content-addressed store, hash-verified

3// Parser is the interface all parser types implement.
4type Parser interface {
5 parse(arena *Arena, ctx *ParseContext, start int) ParseResult
6}
7
8// EpsilonParser always succeeds, consumes nothing.

Callers 15

PredictMethod · 0.65
PredictStreamMethod · 0.65
loadChatsFromStorageFunction · 0.65
promptGPTFunction · 0.65
addFunction · 0.65
chat.jsFile · 0.65
connectFunction · 0.65
pasteMethod · 0.65
constructorMethod · 0.65
parseMethod · 0.65
parserMethod · 0.65
ceFunction · 0.65

Implementers 15

MistralToolParserbackend/python/tinygrad/tool_parsers/m
HermesToolParserbackend/python/tinygrad/tool_parsers/h
ToolParserbackend/python/tinygrad/tool_parsers/b
PassthroughToolParserbackend/python/tinygrad/tool_parsers/b
Qwen3XmlToolParserbackend/python/tinygrad/tool_parsers/q
Llama3JsonToolParserbackend/python/tinygrad/tool_parsers/l
iecore/http/static/assets/marked.js
PDFDocumentcore/http/static/assets/pdf.worker.min
DefaultAppearanceEvaluatorcore/http/static/assets/pdf.worker.min
AppearanceStreamEvaluatorcore/http/static/assets/pdf.worker.min
ColorSpacecore/http/static/assets/pdf.worker.min
Jbig2Imagecore/http/static/assets/pdf.worker.min

Calls

no outgoing calls

Tested by

no test coverage detected