mirror of
https://github.com/Cinnamon/kotaemon.git
synced 2025-06-26 23:19:56 +00:00

* activate directory to gitignore * add my custom env to gitignore, will have to change that * add unstructured to kotaemon pyproject.toml * add .env to gitignore * remove .env from tracking * make changes to the run_macos script, update readme with more detailed instructions * remove my personal changes from gitignore * remove line from run_macos script * remove option for not installing miniconda for non technical users, mark docker dependency as optional * docs: update demo URL * gitignore changes * merge .env.example * revert changes to run_macos.sh * unstructured to advanced dependencies * add link to unstructured system dependencies * remove api key * fix: skip tests when unstructured pdf not installed * chore: loosen unstructured package version in pyproject.toml * chore: correct syntax --------- Co-authored-by: Tadashi <tadashi@cinnamon.is> Co-authored-by: cin-albert <albert@cinnamon.is>
40 lines
1.2 KiB
Plaintext
40 lines
1.2 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 OPEN AI KEY HERE>
|
|
OPENAI_CHAT_MODEL=gpt-3.5-turbo
|
|
OPENAI_EMBEDDINGS_MODEL=text-embedding-ada-002
|
|
|
|
# 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 local models
|
|
LOCAL_MODEL=llama3.1:8b
|
|
LOCAL_MODEL_EMBEDDINGS=nomic-embed-text
|
|
|
|
# settings for GraphRAG
|
|
GRAPHRAG_API_KEY=<YOUR OPEN AI KEY HERE>
|
|
GRAPHRAG_LLM_MODEL=gpt-4o-mini
|
|
GRAPHRAG_EMBEDDING_MODEL=text-embedding-3-small
|
|
|
|
# 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"
|