Files
kotaemon/.env.example
Khoi-Nguyen Nguyen-Ngoc 9ad3e4e49a feat: integrate PaddleOCR as document loaders + enhance chat/index UX (#814)
* docs: typo

* fix: enhance mention @ (file, websearch) in chat

* fix: shorter placeholder guide in chat

* fix: enhance UI (file filter, chunks preview, lightrag reader settings)

* feat: feat: integrate paddleocr (PaddleOCR-VL, PP-StructureV3)

* fix: import

* fix: support both urls and mention files when chatting

* feat: restore the test connection panel in resources

* fix: paddleocr output adapter

* tests: update

* fix: parse image block content

* fix: docker gpu stage for paddleocr

* tests: update unit tests

* tests: add skip_when_paddleocr_not_installed

* fix: reset chunk preview filter when re-selecting file

* fix: paddleocr[all] -> paddleocr[doc-parser]

* fix: allow configure paddleocr device with env

* feat: parameterize CUDA version in Dockerfile for paddlepaddle installation

* docs: add integration guides for PaddleOCR and Docling

* fix: updating mcp server must reflect in the tool choice UI

* fix: disable enable_mkldnn for cpu inference

* docs: update installation doc with uv

* fix: use chat_input_text for llm input instead of the UI display message

* fix: render file mentions as HTML and support unquoted names

* fix: ensures proper cleanup of event listeners before replacing the Tribute instance.

* test: updae unit tests

---------

Co-authored-by: GSD Agent <kotaemon@example.com>
2026-05-30 21:02:58 +07:00

65 lines
1.8 KiB
Plaintext

# this is an example .env file, use it to create your own .env file and place it in the root of the project
# settings for OpenAI
OPENAI_API_BASE=https://api.openai.com/v1
OPENAI_API_KEY=<YOUR_OPENAI_KEY>
OPENAI_CHAT_MODEL=gpt-4o-mini
OPENAI_EMBEDDINGS_MODEL=text-embedding-3-large
# settings for Azure OpenAI
AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_API_KEY=
OPENAI_API_VERSION=2024-02-15-preview
AZURE_OPENAI_CHAT_DEPLOYMENT=gpt-35-turbo
AZURE_OPENAI_EMBEDDINGS_DEPLOYMENT=text-embedding-ada-002
# settings for Cohere
COHERE_API_KEY=<COHERE_API_KEY>
# settings for Mistral
# MISTRAL_API_KEY=placeholder
# settings for VoyageAI
VOYAGE_API_KEY=<VOYAGE_API_KEY>
# settings for local models
LOCAL_MODEL=qwen2.5:7b
LOCAL_MODEL_EMBEDDINGS=nomic-embed-text
# settings for GraphRAG
GRAPHRAG_API_KEY=<YOUR_OPENAI_KEY>
GRAPHRAG_LLM_MODEL=gpt-4o-mini
GRAPHRAG_EMBEDDING_MODEL=text-embedding-3-small
# set to true if you want to use customized GraphRAG config file
USE_CUSTOMIZED_GRAPHRAG_SETTING=false
# settings for Azure DI
AZURE_DI_ENDPOINT=
AZURE_DI_CREDENTIAL=
# settings for Adobe API
# get free credential at https://acrobatservices.adobe.com/dc-integration-creation-app-cdn/main.html?api=pdf-extract-api
# also install pip install "pdfservices-sdk@git+https://github.com/niallcm/pdfservices-python-sdk.git@bump-and-unfreeze-requirements"
PDF_SERVICES_CLIENT_ID=
PDF_SERVICES_CLIENT_SECRET=
# settings for PDF.js
PDFJS_VERSION_DIST="pdfjs-4.0.379-dist"
# settings for PaddleOCR
PADDLE_DEVICE=gpu
# variable for authentication method selection
# for authentication with google leave empty
# for authentication with keycloak :
# AUTHENTICATION_METHOD="KEYCLOAK"
AUTHENTICATION_METHOD=
# settings for keycloak
KEYCLOAK_SERVER_URL=
KEYCLOAK_CLIENT_ID=
KEYCLOAK_REALM=
KEYCLOAK_CLIENT_SECRET=