https://retellai.com/?utm_source=discord&utm_medium=seo logo
Knowledge base 'Untitled' entries
# ❓・bug-report
s
I am seeing a bunch of 'Untitled' KB sources in each of my KBs. When getting a KB from the api, these 'Untitled' sources appear as numbers in the knowledge_base_sources:
Copy code
{
    "knowledge_base_id": "knowledge_base_a42eaac4b90d423d",
    "knowledge_base_name": "Student Services & Support",
    "knowledge_base_sources": [
      1,
      1,
      1,
      2,
      3,
      4,
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11,
      12,
      13,
      14,
      15,
      16,
      17,
      18,
      19,
      20,
      21,
      22,
      23,
      24,
      25,
      26,
      27,
      28,
      29,
      {
        "source_id": "kb_source_18b0686ab2fca819",
        "type": "url",
        "url": "https://www.okanagancollege.ca/accessible-education-and-training"
      },
      {
        "source_id": "kb_source_30714db63919ead0",
        "type": "url",
        "url": "https://www.okanagancollege.ca/athletics"
      },
      ...
https://cdn.discordapp.com/attachments/1442676739179413515/1442676739510898719/image.png?ex=6942a52a&is=694153aa&hm=98df6da713c3983444a41cdc3cb269b3383975919d41ebc79c20989306f4db88&
c
it’s acting as it should because it doesn’t have a name
s
No, I haven't added any docs without names, only URLs.
I am not able to delete these, they don't even have source_ids
Any update on this? Thanks.
c
can you share an example of what you're expecting from this? also how are you importing it.
s
I created KBs through the API and added URLs. Manually added a few PDFs to some of the KBs. Everything was normal. A few weeks later, I started to see these untitled documents listed, but none were ever added. Getting the KB sources from the API shows integers included in the KB sources array that correspond to these untitled documents. So I'm expecting not to see these, they can't be deleted through the UI or API.
c
gotcha, so you just want them deleted so you can reimport?
also just wanted to note, the first 10 knowledge bases are free, any additional are $8 / month
s
No need to reimport anything, would just like the empty items removed.