Giter VIP home page Giter VIP logo

Comments (5)

shahules786 avatar shahules786 commented on June 15, 2024

Hi @Data-drone , It's possible to use AzureOpenAI with ragas. You have to init a new AzureChatOpenAI LLM as mentioned in this notebook

To know how to init AzureOpenAI using Langchain you can refer this guide

from ragas.

Data-drone avatar Data-drone commented on June 15, 2024

I have setup AzureOpenAI and Llama_index is working fine. But it seems like when you call the service context from ragas it is losing the Azure config somehow?

from ragas.

jjmachan avatar jjmachan commented on June 15, 2024

We did have a running thread where we fixed this one time but I would love to get on a call with you when you are available and help debug this. The issue is that we haven't gotten access to Azure Openai endpoints yet so can't debug from our end

the original thread: https://discord.com/channels/1119637219561451644/1123849273562386453/1148224350915407962

it would be great if @Data-drone could commend in that thread, We'll debug this in discord?

from ragas.

Data-drone avatar Data-drone commented on June 15, 2024

Sure should I try the latest master?

from ragas.

jjmachan avatar jjmachan commented on June 15, 2024

you could try that but we've released a 0.0.13 version too. Do try it out and let us know.
you might have to configure the AzureOpenAI separately for ragas metrics. You can use this guide to see how.

from ragas.

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.