amin-kh96

Results 43 comments of amin-kh96

I checked the evaluate function and deep inside there is a function called 'embedding_factory'. by default it use openai I put the whole function here. def embedding_factory( model: str =...

I want to substitute the output of a function called embedded factory with my computed embeddings. because I already have the computed embeddings both for the answer and the question...

> **Describe the Feature** Hi @shahules786 @jjmachan, I'm back in Ragas business ^^ > > I've recently stumble upon a `Failed to parse output. Returning None.` while trying to evaluate...

@dosu. how to fix this error: Exception has occurred: AttributeError 'list' object has no attribute 'rename_columns' File "C:\Users\Amin\git\ragas-prototype\src\rag_eva.py", line 196, in evaluation_report = evaluate(ragas_data, metrics=metrics, embeddings=ragas_embeddings,llm=custom_llm) # Pass your custom...

@dosu. but this does not exist in the Ragas library: EvaluationDataset. which version of ragas are you using?

@dosu. i face this error : AttributeError: 'list' object has no attribute 'rename_columns' and my code is this: # Assuming data_set is a list of dictionaries ragas_data = [ {...

no, I changed the format multiple times but it still gives me the error. I will share this with you if I find any solution.

@dosu. the EvaluationDataset does not exist in my ragas library.

@dosu. this part of my code is related to my data set. take a look at it and tell me which part of it requires changes. # Assuming data_set is...

@dosu. i see this error: Exception has occurred: ValueError Dataset feature "question" should be of type string File "C:\Users\Amin\git\ragas-prototype\src\rag_eva.py", line 199, in evaluation_report = evaluate(ragas_dataset, metrics=metrics, embeddings=ragas_embeddings,llm=custom_llm) # Pass your...