mocks

package
v0.0.0-...-f179465 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 3 Imported by: 0

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 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

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

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.

Jump to

Keyboard shortcuts

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