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

[BUG] Docker use custom GraphRAG settings.yaml #540

Open
S4Spares opened this issue Dec 2, 2024 · 3 comments
Open

[BUG] Docker use custom GraphRAG settings.yaml #540

S4Spares opened this issue Dec 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@S4Spares
Copy link

S4Spares commented Dec 2, 2024

Description

Where do I need to upload the settings.yaml.example in container of it to use it.
Tried to upload to /app as both settings.yaml and settings.yaml.example, both did not work

Reproduction steps

GraphRAG customization

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

Microsoft Edge

OS

Windows

Additional information

No response

@S4Spares S4Spares added the bug Something isn't working label Dec 2, 2024
@taprosoft
Copy link
Collaborator

Make sure that you set env var USE_CUSTOMIZED_GRAPHRAG_SETTING=true in docker run command.

@S4Spares
Copy link
Author

S4Spares commented Dec 3, 2024

Did that too. But the settings.waml is not being picked up.

Even tried to set all the variables via enviornment, but still no joy.

Any ideas please.

cinnamon:
environment:
- GRADIO_SERVER_NAME=0.0.0.0
- GRADIO_SERVER_PORT=7860
- USE_CUSTOMIZED_GRAPHRAG_SETTING="true"
- GRAPHRAG_API_KEY="ollama"
- GRAPHRAG_API_BASE="http://host.docker.internal:11434/v1"
- GRAPHRAG_LLM_API_KEY="ollama"
- GRAPHRAG_LLM_API_BASE="http://host.docker.internal:11434/v1"
- GRAPHRAG_LLM_MODEL="llama3.2"
- GRAPHRAG_EMBEDDING_API_KEY="ollama"
- GRAPHRAG_EMBEDDING_API_BASE="http://host.docker.internal:11434/v1"
- GRAPHRAG_EMBEDDING_MODEL="nomic-embed-text"
ports:
- "7860:7860"
image: "ghcr.io/cinnamon/kotaemon:latest-full"
container_name: cinnamon
restart: unless-stopped
volumes:
- ./docker_volume/cinnamon/data:/app/ktem_app_data
- ./flowsettings.py:/app/flowsettings.py
- ./settings.yaml.example:/app/settings.yaml.example
- ./.env.example:/app/.env

@taprosoft
Copy link
Collaborator

@S4Spares seems the problem is "ghcr.io/cinnamon/kotaemon:latest-full" image name is not correct for the latest version. You can try out ghcr.io/cinnamon/kotaemon:main-full to get the latest development image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants