Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMemory ¶
type MockMemory struct {
// contains filtered or unexported fields
}
MockMemory is a mock of Memory interface.
func NewMockMemory ¶
func NewMockMemory(ctrl *gomock.Controller) *MockMemory
NewMockMemory creates a new mock instance.
func (*MockMemory) Add ¶
func (m *MockMemory) Add(msg *engines.ChatMessage) error
Add mocks base method.
func (*MockMemory) AddPrompt ¶
func (m *MockMemory) AddPrompt(prompt *engines.ChatPrompt) error
AddPrompt mocks base method.
func (*MockMemory) EXPECT ¶
func (m *MockMemory) EXPECT() *MockMemoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMemory) PromptWithContext ¶
func (m *MockMemory) PromptWithContext(nextMessages ...*engines.ChatMessage) (*engines.ChatPrompt, error)
PromptWithContext mocks base method.
type MockMemoryMockRecorder ¶
type MockMemoryMockRecorder struct {
// contains filtered or unexported fields
}
MockMemoryMockRecorder is the mock recorder for MockMemory.
func (*MockMemoryMockRecorder) Add ¶
func (mr *MockMemoryMockRecorder) Add(msg interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockMemoryMockRecorder) AddPrompt ¶
func (mr *MockMemoryMockRecorder) AddPrompt(prompt interface{}) *gomock.Call
AddPrompt indicates an expected call of AddPrompt.
func (*MockMemoryMockRecorder) PromptWithContext ¶
func (mr *MockMemoryMockRecorder) PromptWithContext(nextMessages ...interface{}) *gomock.Call
PromptWithContext indicates an expected call of PromptWithContext.
Click to show internal directories.
Click to hide internal directories.