Comments (5)
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.
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.
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.
Sure should I try the latest master?
from ragas.
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)
- Output testset when using Llama 3 8B instruct model is not proper. HOT 1
- I've been encountering an issue where Ragas generates test cases from the initially uploaded documents, even after updating the documents and rerunning the process. It either uses the old documents or mixes them with the new ones. HOT 1
- TestsetGenerator.from_langchain Generating failed, randomly stuck at 0% to 80%.
- JSON parser as association
- I think it is a good idea that put all evaluate prompt templates into together.
- Synthetic Dataset Generation fail due to "ValueError: 'a' cannot be empty unless no samples are taken"
- Why does Ragas require a llm model when evaluating on datasets with answers and questions? HOT 2
- [R-263] Roadmap - v0.2 HOT 3
- [R-264] Metrics
- [R-265] Ragas API and docker image
- [R-266] New interface for LLMs
- [R-267] Saving and tracking Ragas results
- [R-268] Synthetic test data generation
- [R-269] Saving and tracking Ragas results
- [R-270] Synthetic test data generation
- Ragas installation induced pandas segmentation fault HOT 4
- [R-271] Tools to estimate cost of evaluation and testset generations
- Using context utilization without ground truth throws error message
- Evaluation Error with Gemini/VertexAI: InvalidArgument due to Empty Text Content
- Reasoning behind Context Precision @ K
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ragas.