GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — LlmRequest | ADK for TypeScript: API Reference - v2.5.0

  • LlmRequest

Interface LlmRequest

LLM request class that allows passing in tools, output schema and system instructions to the model.

interface LlmRequest {
    allowedTools?: string[];
    config?: GenerateContentConfig;
    contents: Content[];
    liveConnectConfig: LiveConnectConfig;
    model?: string;
    previousInteractionId?: string;
    toolsDict: { [key: string]: BaseTool };
}
  • Defined in core/src/models/llm_request.ts:21

Properties

OptionalallowedTools

allowedTools?: string[]

The set of allowed tools, populated by request processors.

  • Defined in core/src/models/llm_request.ts:48

Optionalconfig

config?: GenerateContentConfig

Additional config for the generate content request. Tools in generateContentConfig should not be set directly; use appendTools.

  • Defined in core/src/models/llm_request.ts:36

contents

contents: Content[]

The contents to send to the model.

  • Defined in core/src/models/llm_request.ts:30

liveConnectConfig

liveConnectConfig: LiveConnectConfig
  • Defined in core/src/models/llm_request.ts:38

Optionalmodel

model?: string

The model name.

  • Defined in core/src/models/llm_request.ts:25

OptionalpreviousInteractionId

previousInteractionId?: string

The interaction ID from the previous turn, if any.

  • Defined in core/src/models/llm_request.ts:53

toolsDict

toolsDict: { [key: string]: BaseTool }

The tools dictionary. Excluded from JSON serialization.

  • Defined in core/src/models/llm_request.ts:43
Properties
allowedToolsconfigcontentsliveConnectConfigmodelpreviousInteractionIdtoolsDict
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.