mikumifa commented on PR #246:
URL: 
https://github.com/apache/incubator-hugegraph-ai/pull/246#issuecomment-2899717740

   - step 5 is the settings conf
   
![image](https://github.com/user-attachments/assets/f489949a-4b0d-42a0-b528-247704036c46)
   -  Updated the way configuration values are loaded in the UI. with dynamic 
value loading using a lambda function. This ensures that updated settings are 
dynamically reflected after refresh.
   ```
   gr.Textbox(value=llm_settings.reranker_api_key, label="api_key", 
type="password") # old
   gr.Textbox(value=lambda: llm_settings.reranker_api_key, label="api_key", 
type="password") #new
   ```
   - Added index_settings, Values will be saved into the .env file for 
persistence.
   - Manually tested rag and text2gremlin_block. both components are 
functioning correctly after changes.
   - Added a now_vector_index field to the get_vector_index_info() method.  
Displays the currently selected vector index database.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to