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] The file will only be used to populate the db once upon the first run, it will no longer be used in consequent runs. #476

Open
LAM2360 opened this issue Nov 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@LAM2360
Copy link

LAM2360 commented Nov 8, 2024

Description

the .env file works only first time, if I changed the config in .env file, and restart the project by python app.py, the config dosen't change, emm I think it should be change by other way, can any body tell me how to solute it.

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

Microsoft Edge

OS

Linux

Additional information

No response

@LAM2360 LAM2360 added the bug Something isn't working label Nov 8, 2024
@taprosoft
Copy link
Collaborator

@LINJIA333 this is an expected behavior of the system. You can remove ktem_app_data folder to repopulate items from .env file again, but after the launch you can only edit the model parameters on the UI or through the DB directly.

@LAM2360
Copy link
Author

LAM2360 commented Nov 8, 2024

@taprosoft thank you, and I want to ask you why Graphrag doesn't work, I am sure I have openai api key.

@taprosoft
Copy link
Collaborator

Please check out this section https://github.com/Cinnamon/kotaemon#setup-graphrag

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