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

Neo API and Conversation Management Refactoring #814

Merged
merged 4 commits into from
Jan 2, 2025
Merged

Conversation

trheyi
Copy link
Contributor

@trheyi trheyi commented Jan 2, 2025

Changes

  • Streamlined conversation table handling with improved data structure
  • Refactored Neo API initialization process
  • Enhanced assistant management system:
    • Improved configuration loading
    • Optimized RAG integration
    • Removed redundant assistant management files
  • Updated settings structure for better maintainability

trheyi added 4 commits January 2, 2025 16:22
… Neo API

- Changed the 'Table' field to 'Prefix' in the Setting struct to better represent its purpose as a table name prefix.
- Updated all relevant instances in the codebase to use the new 'Prefix' field, ensuring consistency across the application.
- Adjusted logging and table retrieval methods to reflect the new naming convention, enhancing clarity and maintainability.
- Introduced new methods for initializing RAG and store, improving modularity and clarity in the Load function.
- Refactored the assistant initialization process to streamline the loading of built-in assistants and set RAG configurations.
- Moved the defaultAssistant method from neo.go to load.go for better organization and accessibility.
- Enhanced error handling in store initialization to support multiple connector types, including Redis and Mongo.
- Updated the assistant struct to include RAG settings, improving the overall assistant management capabilities.
- Deleted the assistant.go and assistant_test.go files, which contained the implementation and tests for assistant management.
- This cleanup reduces complexity and focuses on core functionalities, paving the way for future enhancements in assistant handling.
- Updated the SetRAG function to include RAG settings, allowing for more detailed configuration during assistant initialization.
- Refactored the LoadBuiltIn function to streamline the saving process of assistants, improving error handling and code clarity.
- Modified loadPrompts and loadScript functions to return timestamps, enabling tracking of creation and update times for assistants.
- Enhanced the Assistant struct with created_at and updated_at fields, improving data management and traceability.
- Overall improvements to the assistant loading process, ensuring better organization and maintainability of the codebase.
@trheyi trheyi merged commit 1254414 into YaoApp:main Jan 2, 2025
1 of 2 checks passed
Copy link

github-actions bot commented Jan 2, 2025

Thank you for the PR! The db: MySQL5.7 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

Copy link

github-actions bot commented Jan 2, 2025

Thank you for the PR! The db: MySQL5.7 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

Copy link

github-actions bot commented Jan 2, 2025

Thank you for the PR! The db: MySQL5.7 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

Copy link

github-actions bot commented Jan 2, 2025

Thank you for the PR! The db: MySQL8.0 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

Copy link

github-actions bot commented Jan 2, 2025

Thank you for the PR! The db: MySQL8.0 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

Copy link

github-actions bot commented Jan 2, 2025

Thank you for the PR! The db: MySQL8.0 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

Copy link

github-actions bot commented Jan 2, 2025

Thank you for the PR! The db: SQLite3 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later.

Copy link

github-actions bot commented Jan 2, 2025

Thank you for the PR! The db: SQLite3 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later.

Copy link

github-actions bot commented Jan 2, 2025

Thank you for the PR! The db: SQLite3 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later.

Copy link

github-actions bot commented Jan 2, 2025

✨DONE✨ db: MySQL5.7 redis: 4 mongo: 6.0 passed.

Copy link

github-actions bot commented Jan 2, 2025

✨DONE✨ db: MySQL5.7 redis: 6 mongo: 6.0 passed.

Copy link

github-actions bot commented Jan 2, 2025

✨DONE✨ db: MySQL5.7 redis: 5 mongo: 6.0 passed.

Copy link

github-actions bot commented Jan 2, 2025

✨DONE✨ db: MySQL8.0 redis: 4 mongo: 6.0 passed.

Copy link

github-actions bot commented Jan 2, 2025

✨DONE✨ db: MySQL8.0 redis: 5 mongo: 6.0 passed.

Copy link

github-actions bot commented Jan 2, 2025

✨DONE✨ db: MySQL8.0 redis: 6 mongo: 6.0 passed.

Copy link

github-actions bot commented Jan 2, 2025

✨DONE✨ db: SQLite3 redis: 5 mongo: 6.0 passed.

Copy link

github-actions bot commented Jan 2, 2025

✨DONE✨ db: SQLite3 redis: 6 mongo: 6.0 passed.

Copy link

github-actions bot commented Jan 2, 2025

✨DONE✨ db: SQLite3 redis: 4 mongo: 6.0 passed.

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

Successfully merging this pull request may close these issues.

1 participant