Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative for OpenAI in evaluation #522

Open
onoph opened this issue Mar 1, 2024 · 7 comments
Open

Alternative for OpenAI in evaluation #522

onoph opened this issue Mar 1, 2024 · 7 comments

Comments

@onoph
Copy link

onoph commented Mar 1, 2024

Hi,

I'm new to haystack and I think it's a very pleasant tool. I've been searching for a while now (mainly here: https://docs.haystack.deepset.ai/v2.0/reference/integrations-ragas) but I didn't find an answer to this question : it is possible to use Ragas with other LLMs ? Like Ollama (thinking to mixtral), or any other provider ?

We would like to keep the data private

@davidsbatista
Copy link
Contributor

Hi @onoph

It's not possible at the moment, but it's something on our radar and what we want to enable in future versions.

@onoph
Copy link
Author

onoph commented Mar 6, 2024

@davidsbatista Thanks for your answer and good luck for the project. I'm starting to like a lot Haystack 😄

@satyaloka93
Copy link

I would also like alternative, we shouldn't constrain to a dependency of paid api services, and particularly sending our data to these services. Any decent local model should be able to self evaluate.

@mrm1001
Copy link

mrm1001 commented Mar 26, 2024

@julian-risch : something to consider when doing the LLM-based metrics: deepset-ai/haystack#7022

@DevYourDreams
Copy link

DevYourDreams commented Apr 3, 2024

@mrm1001 thanks I'm going to explore this. I've seen in the deepEval official doc that we can use any LLM to evaluate the content

Edit for people who will be interested by this topic : Currently I don't see any evaluation for a custom LLM. It seems only GTP models (and a few other online models) are supported regarding this page : https://docs.haystack.deepset.ai/docs/model-based-evaluation#evaluation-framework-integrations

I consider using DeepEval natively : https://docs.confident-ai.com/docs/metrics-introduction

@gustavo-has-stone
Copy link

Is it currently possible to choose which OpenAI model should be used by RAGAS?

@sadaisystems
Copy link

Is it possible to choose OpenAI model for RAGAS? It seems like the code itself doesn't support this. Am i wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants