Commit graph

27 commits

Author SHA1 Message Date
renovate[bot]
53bfc7d252
fix(deps): update module google.golang.org/api to v0.225.0 (#284)
Some checks are pending
Build and Push Docker Images / test (push) Waiting to run
Build and Push Docker Images / build-amd64 (push) Blocked by required conditions
Build and Push Docker Images / build-arm64 (push) Blocked by required conditions
Build and Push Docker Images / merge-manifests (push) Blocked by required conditions
Build and Push Docker Images / E2E Tests (push) Blocked by required conditions
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-12 09:47:02 +01:00
renovate[bot]
d477e26048
fix(deps): update module google.golang.org/api to v0.224.0 (#276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-10 12:12:47 +01:00
Icereed
cbd9c5438c
feat(ocr): add support for Azure Document Intelligence provider (#279) 2025-03-10 10:51:56 +01:00
Icereed
360663b05b
feat(ocr): enhance OCR processing with structured results and hOCR su… (#212)
* feat(ocr): enhance OCR processing with structured results and hOCR support

* Update ocr/google_docai_provider.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update ocr/google_docai_provider_test.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* refactor(tests): remove unused context import from google_docai_provider_test.go

* refactor: Add defensive checks for language code in Google DocAI provider (#226)

* Update ocr/google_docai_provider.go

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* Update ocr/google_docai_provider.go

Co-authored-by: gardar <gardar@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: mkrinke <mad.krinke@googlemail.com>
Co-authored-by: gardar <gardar@users.noreply.github.com>
2025-03-10 08:43:50 +00:00
renovate[bot]
3bb1415b25
fix(deps): update module golang.org/x/sync to v0.12.0 (#274)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-07 21:42:40 +01:00
renovate[bot]
5ac6bb7532
fix(deps): update module google.golang.org/api to v0.223.0 (#264)
Some checks failed
Build and Push Docker Images / test (push) Has been cancelled
Build and Push Docker Images / build-amd64 (push) Has been cancelled
Build and Push Docker Images / build-arm64 (push) Has been cancelled
Build and Push Docker Images / merge-manifests (push) Has been cancelled
Build and Push Docker Images / E2E Tests (push) Has been cancelled
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-03 09:26:25 +01:00
renovate[bot]
74e4419b7c
fix(deps): update module google.golang.org/api to v0.222.0 (#256)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-21 16:25:41 +01:00
renovate[bot]
b6b8948fe3
fix(deps): update module github.com/tmc/langchaingo to v0.1.13 (#243)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 11:53:10 +01:00
renovate[bot]
d5bd23828d
fix(deps): update module google.golang.org/api to v0.221.0 (#235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 22:52:09 +01:00
renovate[bot]
e547596518
fix(deps): update module cloud.google.com/go/documentai to v1.35.2 (#233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 16:51:14 +01:00
renovate[bot]
18ba388af1
fix(deps): update module google.golang.org/api to v0.220.0 (#210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 15:53:18 +01:00
renovate[bot]
fef7da9cdc
fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.8 (#209)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-10 15:53:00 +01:00
Icereed
c8c0dd75ff
Google Document AI (#208)
* feat(ocr): implement OCR provider interface and add Google Document AI and LLM providers

* chore(deps): reorder dependencies in go.mod for better readability

* chore: update version numbers and adjust Docker configuration for Google Document AI integration

* feat(logging): add structured logging to Google Document AI and LLM providers

* chore: add placeholder file to maintain directory structure in web-app/dist

* chore(docker): remove Google Application Credentials configuration from docker-compose
2025-02-10 14:34:12 +00:00
renovate[bot]
46922d8899
fix(deps): update module github.com/tmc/langchaingo to v0.1.13-pre.1 (#192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 15:46:11 +01:00
renovate[bot]
b3c94f6196
fix(deps): update module golang.org/x/sync to v0.11.0 (#190)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 18:49:28 +01:00
Icereed
df31046a68
fix(deps): update langchaingo to v0.1.13-pre.0.0.20250202074804-0672790bb23a and crypto/sys to v0.29.0/v0.27.0 (#185) 2025-02-03 12:08:45 +00:00
Icereed
90ca87a207
feat: add TOKEN_LIMIT environment variable for controlling maximum to… (#161)
* feat: add TOKEN_LIMIT environment variable for controlling maximum tokens in prompts

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-02-02 15:14:18 +00:00
renovate[bot]
616704ee70
fix(deps): update module gorm.io/driver/sqlite to v1.5.7 (#81)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-13 17:36:11 +01:00
Icereed
c8e866c369
feat: add versioning information to Docker build and application startup (#113)
* feat: add versioning information to Docker build and application startup

Bonus: Pin Alpine package versions.
2025-01-13 08:02:55 +01:00
renovate[bot]
71742e5f26
fix(deps): update module github.com/masterminds/sprig/v3 to v3.3.0 (#66)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 17:31:56 +01:00
renovate[bot]
4eadb0e090
fix(deps): update module golang.org/x/sync to v0.10.0 (#68)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 16:30:21 +00:00
renovate[bot]
781823858a
fix(deps): update module github.com/stretchr/testify to v1.10.0 (#67)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-06 16:28:39 +00:00
ccrlawrence
b788f09185
UNDO feature - easily track changes (#54) 2024-12-13 16:48:09 +01:00
Jonas Hess
5dadbcb53d feat: improve auto throughput & logging 2024-10-31 21:17:16 +01:00
Icereed
03364f2741
OCR via LLM (#29) 2024-10-28 17:34:41 +01:00
Dominik Schröter
6410136f89 feat: add support for customizable server-side prompts
- **Custom Prompt Templates**: Introduced support for user-modifiable prompt templates using Go's `text/template`.
  - Added default prompt templates for title and tag generation.
  - Templates are stored in the `prompts` directory and are loaded at startup.
  - If the template files do not exist, they are created with default content.
  - Users can modify the templates by editing the files in the `prompts` directory.
- **API Endpoints for Prompts**:
  - Added `GET /api/prompts` endpoint to retrieve the current prompt templates.
  - Added `POST /api/prompts` endpoint to update the prompt templates.
  - These endpoints prepare for future UI support for modifying prompts.
- **Thread Safety**:
  - Implemented a `sync.RWMutex` to ensure thread-safe access to the templates.
- **Updated Backend Logic**:
  - Modified `getSuggestedTitle` and `getSuggestedTags` functions to use the loaded templates.
  - Templates utilize variables like `{{.Language}}`, `{{.Content}}`, `{{.AvailableTags}}`, and `{{.Title}}`.
- **Docker and Documentation**:
  - Updated the `loadTemplates` function to ensure the `prompts` directory exists and to save default templates if missing.
  - Updated the README with instructions on how to mount the `prompts` directory in Docker and Docker Compose.
  - Provided guidance on modifying the prompt templates via file edits.
2024-10-16 14:57:14 +02:00
Dominik Schröter
833bd9b1b7 Publish paperless-gpt 2024-09-23 14:59:50 +02:00