Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ollama Response is only parsed for Correspondents and Tags #61

Closed
voxibanez opened this issue Jan 8, 2025 · 1 comment
Closed

Ollama Response is only parsed for Correspondents and Tags #61

voxibanez opened this issue Jan 8, 2025 · 1 comment
Labels
done Issue closed with success

Comments

@voxibanez
Copy link

voxibanez commented Jan 8, 2025

Describe the bug
I noticed that when I'm using my local ollama instance, only the tags and Correspondent was being updated. The title was not. I looked at the code and noticed that only the tags and correspondents are returned

I made a test fork to see if returning the full json object with the tags and corespondent validated works. And with this commit it updates the title properly: voxibanez@dd21a15

To Reproduce
Steps to reproduce the behavior:

  1. Use Ollama as the AI
  2. Process a new document
  3. Observe the full json output from Ollama in the paperless-ai logs
  4. Look at the paperless-ai logs and see what it is sending to paperless-ngx

Expected behavior
The title should be included in the data sent to paperless-ngx.

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

@clusterzx
Copy link
Owner

Thank you for this fix. Welp there I missed something out. I will adjust it a little further.

clusterzx added a commit that referenced this issue Jan 8, 2025
Addressing Fixes and new Features:

Fixes:
#66
#61
#58
#55
#53
#45
#59
#52
#49
#31
#37
#52

Added:
- Big New Feature: Playground
	- Try your prompts on your documents and see how they perform. In Playground no data will be updated in Paperless.
- Added Code and Markdown interpretation in Chat Mode.
- Chat Mode now works with Ollama
@clusterzx clusterzx added the done Issue closed with success label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done Issue closed with success
Projects
None yet
Development

No branches or pull requests

2 participants