-
I'm curious about the DSPy features in AX, however the project I'm working on already has tons of LLM related code, advanced model/provider support, parsing/validation logics. I'm wondering if it's possible to leverage just parts of AX that deal with DSPy but use something else for the final LLM calls. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The framework is vertically integrated so the DSPy code is coupled to |
Beta Was this translation helpful? Give feedback.
The framework is vertically integrated so the DSPy code is coupled to
AxBaseAI
which is used to implement all the llm clients. You can just create your own class to extend that and include your own LLM calls into it look atsrc/ax/ai/openai/api.ts