- Introduce ProcessPinyin function to convert Chinese characters to Pinyin with customizable options for tone and separator.
- Register the new Pinyin process in the utils package for easy access.
- Add comprehensive unit tests for various Pinyin conversion scenarios to ensure accuracy and reliability.
- Bump github.com/mattn/go-colorable from v0.1.13 to v0.1.14 in go.mod and go.sum.
- Refactor expression execution in pipe and core data handling to use a map for improved type safety.
- Bump Go version from 1.23 to 1.23.0 and set toolchain to go1.23.4.
- Upgrade github.com/expr-lang/expr from v1.16.9 to v1.17.2.
- Update golang.org/x/crypto from v0.31.0 to v0.36.0, golang.org/x/net from v0.33.0 to v0.38.0, and golang.org/x/text from v0.21.0 to v0.23.0.
- Adjust indirect dependencies for golang.org/x/sync and golang.org/x/sys to their latest versions.
- Import github.com/sergi/go-diff library in go.mod and go.sum
- Add import for gou/diff package in main.go
- Prepare for potential diff-related functionality in the project
- Integrate jsonrepair library to improve JSON parsing resilience
- Replace manual JSON repair attempts with a more comprehensive repair method
- Update go.mod and go.sum to include jsonrepair dependency
- Simplify ParseJSON function with a single repair approach
- Added the github.com/spf13/cast dependency to improve type conversion capabilities.
- Enhanced the requestMessages function to include prompts, allowing for more dynamic message handling.
- Updated the LoadBuiltIn function to ensure the "Built-in" tag is added if it doesn't already exist, improving assistant organization.
- Refactored sorting logic to utilize the cast package for better type safety.
These changes support improved functionality and maintainability in the assistant management process.
- Removed obsolete AWS SDK v2 dependencies from go.mod and go.sum to streamline the codebase.
- Added Vision-related imports and initialized Vision settings in the Neo API, enhancing AI capabilities.
- Introduced initVision method to configure and initialize the Vision instance, improving modularity and functionality.
- Updated the DSL struct to include Vision settings, allowing for better configuration management.
This commit supports future enhancements in AI functionalities and improves the overall structure of the Neo API.
- Added several AWS SDK v2 modules to go.mod and go.sum, enhancing cloud service integration capabilities:
- github.com/aws/aws-sdk-go-v2 and its related services (S3, STS, SSO, etc.) for improved AWS functionality.
- Updated indirect dependencies to ensure compatibility and performance improvements.
- This update supports future development involving AWS services, streamlining the integration process.
- Bump Go version from 1.22.2 to 1.23 for improved performance.
- Update dependencies in go.mod and go.sum, including:
- github.com/PuerkitoBio/goquery to v1.10.1
- github.com/dchest/captcha to v1.1.0
- github.com/evanw/esbuild to v0.24.2
- github.com/fatih/color to v1.18.0
- github.com/fsnotify/fsnotify to v1.8.0
- github.com/spf13/cobra to v1.8.1
- github.com/stretchr/testify to v1.10.0
- github.com/xuri/excelize/v2 to v2.9.0
- Introduce RAG (Retrieval-Augmented Generation) initialization in the Neo API, enhancing assistant capabilities.
- Refactor workflows to use Go 1.23 for testing and CI processes, ensuring compatibility with the latest features.
- Bump Go version from 1.20 to 1.22.2 for improved performance and features.
- Update indirect dependencies to their latest versions, including:
- github.com/cespare/xxhash/v2 from v2.2.0 to v2.3.0
- github.com/golang/protobuf from v1.5.3 to v1.5.4
- github.com/klauspost/compress from v1.17.3 to v1.17.4
- golang.org/x/oauth2 from v0.14.0 to v0.23.0
- google.golang.org/grpc from v1.60.1 to v1.69.2
- google.golang.org/protobuf from v1.34.2 to v1.36.1
- Add new dependencies for OpenTelemetry packages, enhancing observability capabilities.
- Updated the golang.org/x/net dependency from v0.27.0 to v0.33.0 in go.mod.
- Updated the corresponding checksums in go.sum to reflect the new version.