Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockLLM
- type MockLLMMockRecorder
- type MockLLMWithFunctionCalls
- func (m *MockLLMWithFunctionCalls) Chat(prompt *engines.ChatPrompt) (*engines.ChatMessage, error)
- func (m *MockLLMWithFunctionCalls) ChatWithFunctions(prompt *engines.ChatPrompt, functions []engines.FunctionSpecs) (*engines.ChatMessage, error)
- func (m *MockLLMWithFunctionCalls) EXPECT() *MockLLMWithFunctionCallsMockRecorder
- type MockLLMWithFunctionCallsMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLLM ¶
type MockLLM struct {
// contains filtered or unexported fields
}
MockLLM is a mock of LLM interface.
func NewMockLLM ¶
func NewMockLLM(ctrl *gomock.Controller) *MockLLM
NewMockLLM creates a new mock instance.
func (*MockLLM) Chat ¶
func (m *MockLLM) Chat(prompt *engines.ChatPrompt) (*engines.ChatMessage, error)
Chat mocks base method.
func (*MockLLM) EXPECT ¶
func (m *MockLLM) EXPECT() *MockLLMMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLLMMockRecorder ¶
type MockLLMMockRecorder struct {
// contains filtered or unexported fields
}
MockLLMMockRecorder is the mock recorder for MockLLM.
func (*MockLLMMockRecorder) Chat ¶
func (mr *MockLLMMockRecorder) Chat(prompt interface{}) *gomock.Call
Chat indicates an expected call of Chat.
type MockLLMWithFunctionCalls ¶
type MockLLMWithFunctionCalls struct {
// contains filtered or unexported fields
}
MockLLMWithFunctionCalls is a mock of LLMWithFunctionCalls interface.
func NewMockLLMWithFunctionCalls ¶
func NewMockLLMWithFunctionCalls(ctrl *gomock.Controller) *MockLLMWithFunctionCalls
NewMockLLMWithFunctionCalls creates a new mock instance.
func (*MockLLMWithFunctionCalls) Chat ¶
func (m *MockLLMWithFunctionCalls) Chat(prompt *engines.ChatPrompt) (*engines.ChatMessage, error)
Chat mocks base method.
func (*MockLLMWithFunctionCalls) ChatWithFunctions ¶
func (m *MockLLMWithFunctionCalls) ChatWithFunctions(prompt *engines.ChatPrompt, functions []engines.FunctionSpecs) (*engines.ChatMessage, error)
ChatWithFunctions mocks base method.
func (*MockLLMWithFunctionCalls) EXPECT ¶
func (m *MockLLMWithFunctionCalls) EXPECT() *MockLLMWithFunctionCallsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockLLMWithFunctionCallsMockRecorder ¶
type MockLLMWithFunctionCallsMockRecorder struct {
// contains filtered or unexported fields
}
MockLLMWithFunctionCallsMockRecorder is the mock recorder for MockLLMWithFunctionCalls.
func (*MockLLMWithFunctionCallsMockRecorder) Chat ¶
func (mr *MockLLMWithFunctionCallsMockRecorder) Chat(prompt interface{}) *gomock.Call
Chat indicates an expected call of Chat.
func (*MockLLMWithFunctionCallsMockRecorder) ChatWithFunctions ¶
func (mr *MockLLMWithFunctionCallsMockRecorder) ChatWithFunctions(prompt, functions interface{}) *gomock.Call
ChatWithFunctions indicates an expected call of ChatWithFunctions.