Skip to content

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

Open

Description

@sushanthtws

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

Activity

  1. ChahalK commented on Oct 21, 2024

    @ChahalK

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions