yao/kb/providers/converters
Max d705fcc484 Add tests for JSON response formatting and schema validation in OpenAI provider
- Introduced TestOpenAIJSONMode and TestOpenAIJSONModePost to validate JSON response formatting for streaming and non-streaming requests.
- Added TestOpenAIJSONSchema and TestOpenAIJSONSchemaPost to ensure compliance with strict JSON schema validation.
- Enhanced request body construction in the OpenAI provider to support JSON schema details in response formats.
2025-11-15 11:31:17 +08:00
..
mcp.go Refactor provider schemas to utilize bindata for enhanced localization support 2025-08-10 15:51:34 +08:00
mcp_test.go Add tests for Structured and Semantic schema retrieval 2025-08-10 17:21:13 +08:00
ocr.go Refactor provider schemas to utilize bindata for enhanced localization support 2025-08-10 15:51:34 +08:00
ocr_test.go Add tests for Structured and Semantic schema retrieval 2025-08-10 17:21:13 +08:00
office.go Refactor provider schemas to utilize bindata for enhanced localization support 2025-08-10 15:51:34 +08:00
office_test.go Add tests for Structured and Semantic schema retrieval 2025-08-10 17:21:13 +08:00
utf8.go Refactor provider schemas to utilize bindata for enhanced localization support 2025-08-10 15:51:34 +08:00
utf8_test.go Add tests for Structured and Semantic schema retrieval 2025-08-10 17:21:13 +08:00
utils.go Remove unused provider.go file and enhance chunking options in chunking.go, converter.go, embedding.go, extractor.go, and fetcher.go with detailed property extraction and default values. Update comments for clarity and consistency across providers. 2025-07-27 11:44:19 +08:00
utils_test.go Remove unused provider.go file and enhance chunking options in chunking.go, converter.go, embedding.go, extractor.go, and fetcher.go with detailed property extraction and default values. Update comments for clarity and consistency across providers. 2025-07-27 11:44:19 +08:00
video.go Refactor provider schemas to utilize bindata for enhanced localization support 2025-08-10 15:51:34 +08:00
video_test.go Add tests for Structured and Semantic schema retrieval 2025-08-10 17:21:13 +08:00
vision.go Refactor provider schemas to utilize bindata for enhanced localization support 2025-08-10 15:51:34 +08:00
vision_test.go Add tests for JSON response formatting and schema validation in OpenAI provider 2025-11-15 11:31:17 +08:00
whisper.go Refactor provider schemas to utilize bindata for enhanced localization support 2025-08-10 15:51:34 +08:00
whisper_test.go Add tests for Structured and Semantic schema retrieval 2025-08-10 17:21:13 +08:00