Documentation
¶
Index ¶
Constants ¶
const ModelID = fakellm.ModelID
Model id every scripted completion of the loopback provider reports
Variables ¶
This section is empty.
Functions ¶
func WriteFakeLLMHome ¶
Writes a minimal config.yaml and .env routing the main model of a home to baseURL
Types ¶
type Call ¶
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use
type DropMidStream ¶
type DropMidStream = fakellm.DropMidStream
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use
type Error ¶
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use
type Hang ¶
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use
type Options ¶
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use
type Raw ¶
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use
type Request ¶
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use
type Responder ¶
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use
type Server ¶
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use
func NewFakeLLM ¶
Starts a provider answering main turns from script in order, then with the default text
type StallMidStream ¶
type StallMidStream = fakellm.StallMidStream
Responses, records and the server of the scripted loopback provider, the same types the packages under pkg use