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

Properties

candidateCount?

optional candidateCount: number;

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


frequencyPenalty?

optional frequencyPenalty: number;

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


maxOutputTokens?

optional maxOutputTokens: number;

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


responseMimeType?

optional responseMimeType: string;

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


responseSchema?

optional responseSchema: object;

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


stopSequences?

optional stopSequences: readonly string[];

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


temperature?

optional temperature: number;

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


thinkingConfig?

optional thinkingConfig: object;

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

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


topP?

optional topP: number;

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