Is it possible to somehow hook into the model prov...
# marvin-ai
j
Is it possible to somehow hook into the model provider class that CF uses under the hood? I'm trying to figure out how best to integrate with LangFuse — one of the ways is to use their drop-in replacement
Copy code
- import openai
+ from langfuse.openai import openai
The other option is to use their SDK/API directly, but to do that, we'd need a way to somehow grab the raw inputs and outputs that are sent to the LLMs? The other option would be to natively integrate with LangFuse! 🙏
m
-- Langfuse maintainer/founder here Not a CF expert but happy to help with any guidance in case someone is interested in building/contributing an integration or docs! this could be cool as a part of hacktoberfest
🙌 1