How can I use the as_langchain_chat_model() method to get the langchain compatible llm?

csanti
csanti Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 3 ✭✭✭

Hello,

I am a new user of LLM Mesh and I am experimenting with creating a multi-agent workflow within Dataiku.

The documentation specifies that there is a way to get a langchain compabible llm by using the as_langchain_chat_model() method (https://developer.dataiku.com/latest/api-reference/python/llm-mesh.html).

However, this method does not seem to be available (image below).

Do you know how I can go about obtaining this object?

My objective is to be able to use the bind_functions method on the llm.

Thank you

Setup Info
    Tags
      Help me…