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

Rag model examples - When uploading a sample ".pdf" file its producing an exception. #219

Open
sushanthtws opened this issue Oct 15, 2024 · 1 comment

Comments

@sushanthtws
Copy link

After using the playground for quite sometime, I shifted from one example to other example of RAG models. Later when I uploaded the same pdf into the knowledge base, its giving an exception. While the same file was working properly till then. Then I tried with different files all formats like ".txt", and ".md" each of these too failed with same exception as provided below.

Image

Attached the sample file uploaded during testing.uploaded_Software Engineer Resume.pdf

@ChahalK
Copy link

ChahalK commented Oct 21, 2024

Hello sushanthtws,
I was able to replicate the issue and it was because your api key is expired and if you try to regenerate the the nvidia api key and do

  • Investigation

Try running:

docker logs chain-server 

in the LOGS you'll see a 401 unauthorized error where it suggests to regenerate the key.

  • Solution
unset NVIDIA_API_KEY  

and export it again with a new api key using

export NVIDIA_API_KEY=nvapi-.....
docker compose down 
docker compose up -d --build 

and now try uploading or deleting the files it worked for me.

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

No branches or pull requests

2 participants