Failed to init knowledge: table embeddings already exists

Has anyone experienced this error before? I’ve tried to recreate working Knowledge examples, but I always run into this error. Besides this one thing, everything else runs pretty smoothly.

My project also seems to have trouble locating the text file I placed in the Knowledge folder.

Oh boy I have been there and it really depends on your dev environment. This is about telling python where your files are.

Try

knowledge_dir = Path("knowledge")

A little but of trial and error here might be needed.

@Jamen, to have any chance of getting help, you should provide an MRE (minimum reproducible example) so others can analyze it and provide feedback.

1 Like