copilot icon indicating copy to clipboard operation
copilot copied to clipboard

Unable to call knowledge base

Open shanmu-raoyunfei opened this issue 2 years ago • 2 comments

Two pdf knowledge base files were uploaded, but were never invoked. What is the problem that the context does not get the relevant information?

shanmu-raoyunfei avatar Dec 22 '23 07:12 shanmu-raoyunfei

@shanmu-raoyunfei Threre was a bug a day ago, where document ingestion was failing due to qdrant api key. Please take a pull from main and make sure of the following

  1. The files were readable pdf files
  2. switch to browser: http://localhost:6333/dashboard#/console
  3. Run the following - replace f1eaa77b-f833-4639-be82-86b75b38d46b with your bot_id, you can find it from the url http://localhost:8888/copilot/bot_id
POST /collections/actions/points/scroll
{
    "filter": {
        "must": [
            {
                "key": "metadata.bot_id",
                "match": {
                    "value": "f1eaa77b-f833-4639-be82-86b75b38d46b"
                }
            }
        ]
    },
    "limit": 1,
    "with_payload": true,
    "with_vector": false
}

If the data is ingested and the bot still fails to find the relevant information, we would like to look into it

codebanesr avatar Dec 23 '23 04:12 codebanesr

@shanmu-raoyunfei, there was a problem with the initialization of Qdrant, and a necessary fix was not included. Please pull the latest changes, and it should be resolved now.

Note: You will have to reindex those documents, sorry about that 😞

codebanesr avatar Dec 23 '23 07:12 codebanesr