AxPreparedChatRequest
type AxPreparedChatRequest<TChatRequest> = object;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/types.ts#L668
Result of preparing a chat request with context cache support.
Type Parameters
| Type Parameter |
|---|
TChatRequest |
Properties
apiConfig
apiConfig: AxAPI;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/types.ts#L670
API endpoint configuration
cachedContentName?
optional cachedContentName: string;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/types.ts#L676
Cache name to use in the request (if using existing cache)
cacheOperations?
optional cacheOperations: AxContextCacheOperation[];
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/types.ts#L674
Optional cache operations to execute before the main request
request
request: TChatRequest;
Defined in: https://github.com/ax-llm/ax/blob/242cf18d21de9f9d58c7c82f53305f0605497473/src/ax/ai/types.ts#L672
The prepared chat request