forestwanglin / openai-java

OpenAi GPT API for Java. Including all API from OpenAI except deprecated. It especially includes stream client and jtokkit with function calculation. Including Baidu AI.
MIT License
57 stars 9 forks source link

Definitions is not supported #15

Open kusuri-h opened 1 week ago

kusuri-h commented 1 week ago

If definitions is used, the function token cannot be calculated successfully This is widely used in structured-outputs , you can see the document https://platform.openai.com/docs/guides/structured-outputs/definitions-are-supported

forestwanglin commented 5 days ago

Could you give me a example which is incorrect calculated?