MCPcopy Index your code
hub / github.com/mudler/LocalAI / Pos

Method Pos

pkg/functions/iterative_parser.go:84–86  ·  view source on GitHub ↗

Pos returns the current position in the input

()

Source from the content-addressed store, hash-verified

82
83// Pos returns the current position in the input
84func (p *ChatMsgParser) Pos() int {
85 return p.pos
86}
87
88// IsPartial returns whether this is a partial parse
89func (p *ChatMsgParser) IsPartial() bool {

Callers 3

ParseJSONIterativeFunction · 0.95
parse_test.goFile · 0.80
buildContentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected