Code Monkey home page Code Monkey logo

Comments (5)

penguine-ip avatar penguine-ip commented on August 25, 2024 1

@lmpratti You're probably using the DeepEvalBaseLLM wrapper in the ragas metric. Unforuntately the ragas metric only accept langhcain chat models, you can read the docs here: https://docs.confident-ai.com/docs/metrics-ragas#example

from deepeval.

penguine-ip avatar penguine-ip commented on August 25, 2024

Hey @haarisedhi102 where are you finding this?

self.llm.set_run_config(run_config)

Also what version of deepeval are you on?

from deepeval.

lmpratti avatar lmpratti commented on August 25, 2024

@penguine-ip This happens on the latest version of deepeval too (0.21.62). I suspect it's due to the dependency on ragas library.
It fails even after adding the below set_run_config to the llm.

    def set_run_config(self, run_config: RunConfig = RunConfig()):
        self.run_config = run_config

from deepeval.

lmpratti avatar lmpratti commented on August 25, 2024

@penguine-ip Thanks a ton! Is there a plan to support DeepEvalBaseLLM wrapped models for ragas metric?

from deepeval.

penguine-ip avatar penguine-ip commented on August 25, 2024

@lmpratti Unfortunately no because ragas does not have their own ecosystem to support custom models, so out of our control. But we have our own similar implementation of the ragas metrics for this reason

from deepeval.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.