AxMessage
type AxMessage<IN> =
| {
role: "user";
values: IN;
}
| {
role: "assistant";
values: IN;
};
Defined in: https://github.com/ax-llm/ax/blob/8dfd0ce02b8cb386fb2c93fa280a2ec0da2d6011/src/ax/dsp/types.ts#L41
Deprecated
AxMessage will be updated to a new design within this major version. The current structure will be replaced in v15.0.0.
Migration timeline:
- v14.0.0+: Deprecation warnings (current)
- v14.x: New message design introduced alongside existing
- v15.0.0: Complete replacement with new design
Type Parameters
Type Parameter |
---|
IN |