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

when using Gemini drop knowledge graph dependency #12

Open
pentium10 opened this issue Dec 7, 2024 · 3 comments
Open

when using Gemini drop knowledge graph dependency #12

pentium10 opened this issue Dec 7, 2024 · 3 comments

Comments

@pentium10
Copy link

Hello,

I installed the repo.
I created the .env file
I completed just the GEMINI line with an API key obtained from https://aistudio.google.com/

I open Project Alice
I select Gemini Chat (alice gemini)

I send whatever message, the script crashes.

workflow-1      | INFO:     ('172.18.0.1', 37246) - "WebSocket /ws/e0b7b210-7814-4020-b81c-b88b30bd2be6?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2NzU0ODZmOGZjMjQ4NmEzN2JmOWZiMzIiLCJyb2xlIjoidXNlciIsImlhdCI6MTczMzU5MjgyNCwiZXhwIjoxNzM2MTg0ODI0fQ.cULVqyAtenE9_3UrETnrkK48mjHytX9OqwCTNLZZXjk" [accepted]                                                                                                       
workflow-1      | INFO:     connection open
workflow-1      | 2024-12-07 17:38:37,537 - root - ERROR - Task e0b7b210-7814-4020-b81c-b88b30bd2be6 failed with error: 1 validation error for API                                                                
workflow-1      | api_config
workflow-1      |   Value error, Invalid configuration for API google_knowledge_graph [type=value_error, input_value={'_id': '675486f8fc2486a3...7:33:44.998Z', '__v': 0}, input_type=dict]  
@MarianoMolina
Copy link
Owner

This error is odd. By any chance: Did you run the script before updating the .env file? This is an error with a different API, so it sounds like its a larger issue than Gemini.

Although I'm not sure what caused it, I think I know what can fix it. Can you try to do an update? Do:
python update.py

And then go to your user settings and re-set your database (it will reinitialize all the structures and delete all your data - if you have stuff, you can instead open a separate account). If you still have issues please let me know.

@pentium10
Copy link
Author

sorry I forgot to reply here,
I had this reconstructed when the session goes away the PA user is not logged in it crashed with various errors

@MarianoMolina
Copy link
Owner

Can you share the log?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants