mockllms

package
v0.11.65 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mockllms is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockModel

type MockModel struct {
	// contains filtered or unexported fields
}

MockModel is a mock of Model interface.

func NewMockModel

func NewMockModel(ctrl *gomock.Controller) *MockModel

NewMockModel creates a new mock instance.

func (*MockModel) EXPECT

func (m *MockModel) EXPECT() *MockModelMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockModel) GenerateContent

func (m *MockModel) GenerateContent(ctx context.Context, messages []llms.Message, options ...llms.CallOption) (*llms.ContentResponse, error)

GenerateContent mocks base method.

func (*MockModel) GetName added in v0.10.61

func (m *MockModel) GetName() string

GetName mocks base method.

func (*MockModel) GetProviderType added in v0.10.54

func (m *MockModel) GetProviderType() llms.ProviderType

GetProviderType mocks base method.

type MockModelMockRecorder

type MockModelMockRecorder struct {
	// contains filtered or unexported fields
}

MockModelMockRecorder is the mock recorder for MockModel.

func (*MockModelMockRecorder) GenerateContent

func (mr *MockModelMockRecorder) GenerateContent(ctx, messages any, options ...any) *gomock.Call

GenerateContent indicates an expected call of GenerateContent.

func (*MockModelMockRecorder) GetName added in v0.10.61

func (mr *MockModelMockRecorder) GetName() *gomock.Call

GetName indicates an expected call of GetName.

func (*MockModelMockRecorder) GetProviderType added in v0.10.54

func (mr *MockModelMockRecorder) GetProviderType() *gomock.Call

GetProviderType indicates an expected call of GetProviderType.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL