// Code generated by protoc-gen-goext. DO NOT EDIT.

package llm

type InstructRequest_Instruction = isInstructRequest_Instruction

func (m *InstructRequest) SetInstruction(v InstructRequest_Instruction) {
	m.Instruction = v
}

type InstructRequest_Request = isInstructRequest_Request

func (m *InstructRequest) SetRequest(v InstructRequest_Request) {
	m.Request = v
}

func (m *InstructRequest) SetModel(v string) {
	m.Model = v
}

func (m *InstructRequest) SetGenerationOptions(v *GenerationOptions) {
	m.GenerationOptions = v
}

func (m *InstructRequest) SetInstructionText(v string) {
	m.Instruction = &InstructRequest_InstructionText{
		InstructionText: v,
	}
}

func (m *InstructRequest) SetInstructionUri(v string) {
	m.Instruction = &InstructRequest_InstructionUri{
		InstructionUri: v,
	}
}

func (m *InstructRequest) SetRequestText(v string) {
	m.Request = &InstructRequest_RequestText{
		RequestText: v,
	}
}

func (m *InstructResponse) SetAlternatives(v []*Alternative) {
	m.Alternatives = v
}

func (m *InstructResponse) SetNumPromptTokens(v int64) {
	m.NumPromptTokens = v
}

type ChatRequest_Instruction = isChatRequest_Instruction

func (m *ChatRequest) SetInstruction(v ChatRequest_Instruction) {
	m.Instruction = v
}

func (m *ChatRequest) SetModel(v string) {
	m.Model = v
}

func (m *ChatRequest) SetGenerationOptions(v *GenerationOptions) {
	m.GenerationOptions = v
}

func (m *ChatRequest) SetInstructionText(v string) {
	m.Instruction = &ChatRequest_InstructionText{
		InstructionText: v,
	}
}

func (m *ChatRequest) SetMessages(v []*Message) {
	m.Messages = v
}

func (m *ChatResponse) SetMessage(v *Message) {
	m.Message = v
}

func (m *ChatResponse) SetNumTokens(v int64) {
	m.NumTokens = v
}

func (m *TokenizeRequest) SetModel(v string) {
	m.Model = v
}

func (m *TokenizeRequest) SetText(v string) {
	m.Text = v
}

func (m *TokenizeResponse) SetTokens(v []*Token) {
	m.Tokens = v
}

func (m *EmbeddingRequest) SetEmbeddingType(v EmbeddingRequest_EmbeddingType) {
	m.EmbeddingType = v
}

func (m *EmbeddingRequest) SetModel(v string) {
	m.Model = v
}

func (m *EmbeddingRequest) SetText(v string) {
	m.Text = v
}

func (m *EmbeddingResponse) SetEmbedding(v []float64) {
	m.Embedding = v
}

func (m *EmbeddingResponse) SetNumTokens(v int64) {
	m.NumTokens = v
}
