eiixy
|
a3bd2569ac
|
Improve handling of JSON Schema in OpenAI API Response Context (#819)
* feat: add jsonschema.Validate and jsonschema.Unmarshal
* fix Sanity check
* remove slices.Contains
* fix Sanity check
* add SchemaWrapper
* update api_integration_test.go
* update method 'reflectSchema' to support 'omitempty' in JSON tag
* add GenerateSchemaForType
* update json_test.go
* update `Warp` to `Wrap`
* fix Sanity check
* fix Sanity check
* update api_internal_test.go
* update README.md
* update README.md
* remove jsonschema.SchemaWrapper
* remove jsonschema.SchemaWrapper
* fix Sanity check
* optimize code formatting
|
2024-08-24 18:06:08 +01:00 |
|