openai4j
openai4j copied to clipboard
Java client library for OpenAI API.Full support for all OpenAI API models including Completions, Chat, Edits, Embeddings, Audio, Files, Assistants-v2, Images, Moderations, Batch, and Fine-tuning.
Using the new `FunctionDefinition` returns this on azure's `gpt-4-turbo` ```json "error": { "message": "1 validation error for Request\nbody -> tools\n extra fields not permitted (type=value_error.extra)", "type": "invalid_request_error", "param": null, "code":...
I am the maintainer of this open-source library, and I developed it based on the openai Java library. Currently, the JDK 8 version is no longer suitable for my own...
执行测试用例时,对应messageChunk获取的arguments类型还是objectNode,导致解析为空  我需要在初始化时做什么操作吗,设定不同的序列化方式?
删除deserializer中是否为json的判断 openaiservice中function call对象改为了局部变量,qwen流式返回function call时,最后一个会带有finishReason但是没有具体的function call结果,导致重复进入解析,所以改为局部变量进行判断
[Use Uploads to upload large files in multiple parts.](https://platform.openai.com/docs/changelog/uploads) https://platform.openai.com/docs/api-reference/uploads 最近更新支持