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/b50783a160295ce34ac10dcaf3bd8fff4a01d535/src/ax/ai/google-gemini/types.ts#L132

Properties

candidateCount?

optional candidateCount: number;

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


frequencyPenalty?

optional frequencyPenalty: number;

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


maxOutputTokens?

optional maxOutputTokens: number;

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


responseMimeType?

optional responseMimeType: string;

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


responseSchema?

optional responseSchema: object;

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


stopSequences?

optional stopSequences: readonly string[];

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


temperature?

optional temperature: number;

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


thinkingConfig?

optional thinkingConfig: object;

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

includeThoughts?

optional includeThoughts: boolean;

thinkingBudget?

optional thinkingBudget: number;

thinkingLevel?

optional thinkingLevel: "low" | "high";

topK?

optional topK: number;

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


topP?

optional topP: number;

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