AxPreparedChatRequest
type AxPreparedChatRequest<TChatRequest> = object;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/types.ts#L936
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/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/types.ts#L938
API endpoint configuration
cachedContentName?
optional cachedContentName: string;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/types.ts#L944
Cache name to use in the request (if using existing cache)
cacheOperations?
optional cacheOperations: AxContextCacheOperation[];
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/types.ts#L942
Optional cache operations to execute before the main request
request
request: TChatRequest;
Defined in: https://github.com/ax-llm/ax/blob/71ea5064d766efdc031d375243a8e525911833e7/src/ax/ai/types.ts#L940
The prepared chat request