Documentation

Build LLM-powered agents
with production-ready TypeScript

DSPy for TypeScript. Working with LLMs is complex—they don't always do what you want. DSPy makes it easier to build amazing things with LLMs. Just define your inputs and outputs (signature) and an efficient prompt is auto-generated and used. Connect together various signatures to build complex systems and workflows using LLMs.

15+ LLM Providers
End-to-end Streaming
Auto Prompt Tuning

AxAIGoogleGeminiGenerationConfig

type AxAIGoogleGeminiGenerationConfig = object;

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L125

Properties

candidateCount?

optional candidateCount: number;

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L130


frequencyPenalty?

optional frequencyPenalty: number;

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L129


maxOutputTokens?

optional maxOutputTokens: number;

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L131


responseMimeType?

optional responseMimeType: string;

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L133


stopSequences?

optional stopSequences: readonly string[];

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L132


temperature?

optional temperature: number;

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L126


thinkingConfig?

optional thinkingConfig: object;

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L134

includeThoughts?

optional includeThoughts: boolean;

thinkingBudget?

optional thinkingBudget: number;

topK?

optional topK: number;

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L128


topP?

optional topP: number;

Defined in: https://github.com/ax-llm/ax/blob/d2df625e2c2fd70a090d6321c042579c2819f0d1/src/ax/ai/google-gemini/types.ts#L127