yao/neo/vision/driver
Max 2becefd06e Enhance Vision module with flexible prompt handling and comprehensive tests
- Refactored the Analyze method in the Vision and OpenAI model to accept a variadic prompt parameter, allowing for optional custom prompts while defaulting to a predefined prompt if none is provided.
- Added multiple test cases in vision_test.go and model_test.go to validate image analysis with default, custom, and empty prompts, ensuring robust functionality and error handling.
- Updated the Model interface to reflect the new prompt handling, improving clarity and usability.

These changes enhance the flexibility of the Vision module, paving the way for improved user experience and functionality in image analysis.
2025-01-06 11:43:31 +08:00
..
local Remove prompt documentation and enhance image upload/download functionality in vision module 2025-01-03 13:52:45 +08:00
openai Enhance Vision module with flexible prompt handling and comprehensive tests 2025-01-06 11:43:31 +08:00
s3 Remove prompt documentation and enhance image upload/download functionality in vision module 2025-01-03 13:52:45 +08:00
types.go Enhance Vision module with flexible prompt handling and comprehensive tests 2025-01-06 11:43:31 +08:00