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