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