Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

[Bug] - RAG Feature not working when using Ollama #814

@martymcfly1

Description

@martymcfly1

Describe the bug
I can't get the RAG feature to work with Ollama. I have installed the models (Qwen 2.5VL and the embedding model specified), they work fine in Ollama.

Each time I try to run the process of creating the RAG store, Kiln seems to crash out (it opens a second instance, I have to force quit the first instance), the RAG exercise fails with error messages like the below:

ERROR: Error extracting document: /Users/marti/Kiln Projects/Expert/documents/861805215739 - bonuses pdf/document.kiln: Error extracting /Users/marti/Kiln Projects/Expert/documents/861805215739 - bonuses pdf/attachment_229158380534.pdf: Error extracting PDF /Users/marti/Kiln Projects/Expert/documents/861805215739 - bonuses pdf/attachment_229158380534.pdf: Page 0: Error extracting page 0 in file /var/folders/s1/pkr18y555cqd_clyh33k93j00000gn/T/kiln_pdf_pages_7hukk8ov/page_1.pdf: A process in the process pool was terminated abruptly while the future was running or pending.
Page 1: Error extracting page 1 in file /var/folders/s1/pkr18y555cqd_clyh33k93j00000gn/T/kiln_pdf_pages_7hukk8ov/page_2.pdf: A child process terminated abruptly, the process pool is not usable anymore
Page 2: Error extracting page 2 in file /var/folders/s1/pkr18y555cqd_clyh33k93j00000gn/T/kiln_pdf_pages_7hukk8ov/page_3.pdf: A child process terminated abruptly, the process pool is not usable anymore
Page 3: Error extracting page 3 in file /var/folders/s1/pkr18y555cqd_clyh33k93j00000gn/T/kiln_pdf_pages_7hukk8ov/page_4.pdf: A child process terminated abruptly, the process pool is not usable anymore
Page 4: Error extracting page 4 in file /var/folders/s1/pkr18y555cqd_clyh33k93j00000gn/T/kiln_pdf_pages_7hukk8ov/page_5.pdf: A child process terminated abruptly, the process pool is not usable anymore
Page 5: Error extracting page 5 in file /var/folders/s1/pkr18y555cqd_clyh33k93j00000gn/T/kiln_pdf_pages_7hukk8ov/page_6.pdf: A child process terminated abruptly, the process pool is not usable anymore
Page 6: Error extracting page 6 in file /var/folders/s1/pkr18y555cqd_clyh33k93j00000gn/T/kiln_pdf_pages_7hukk8ov/page_7.pdf: A child process terminated abruptly, the process pool is not usable anymore

INFO: No records to index.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions