-
Notifications
You must be signed in to change notification settings - Fork 40
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
Error Loading RagChecker #11
Comments
Have you find a solution on this ?
This way it works |
I think that way uses OpenAI and not AzureOpenAI |
its not working even using the openai. Pls post if you found a work around.. AttributeError: 'LLMExtractor' object has no attribute 'split' |
RAGChecker uses litellm for invoking the LLMs. Please check their doc for various providers: https://docs.litellm.ai/docs/providers If you are using OpenAI, just use the model name "gpt-4o" for extractor_name and checker_name. |
Hi everyone, |
Have the same issue as @hoahoa1808. Is there a way around this? |
|
@alexlorenzo is that a solution? Could you develop more on your explanation please? Thanks |
Yes it is, I modified it. |
Setup
Python version 3.11
Windows Machine
pip install ragchecker
python -m spacy download en_core_web_sm
Its seems like there is trouble connecting with Azure OpenAI or utilising it. I used the same checking_inputs.json as the one provided
Is this convention correct?
"azure/model-deployment-name"
I have also checked my API authentication by running some inferences on the completions API. There isn't any issue there.
The text was updated successfully, but these errors were encountered: