This is an automated email from the ASF dual-hosted git repository. liujun pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/dubbo-ai.git
from 8392060 Merge pull request #1 from xixingya/main add c36d5c6 add Response parser add c007739 add integer response test new 0c26721 Merge pull request #2 from xixingya/main The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: README.md | 52 +++++- .../org/apache/dubbo/ai/core/AIResponseParser.java | 26 --- .../ai/core/model/{Response.java => Parser.java} | 15 +- .../ai/core/model/parser/AiResponseParser.java | 56 +++++++ .../core/model/parser/PrimitiveParserFactory.java | 180 +++++++++++++++++++++ .../ai/core/proxy/AiServiceInterfaceImpl.java | 40 ++--- .../org/apache/dubbo/ai/openai/MyAiService.java | 25 ++- .../dubbo/ai/openai/model/OpenAiModelsTest.java | 33 ++++ .../org/apache/dubbo/ai/openai/pojo/Person.java | 62 ++++--- .../dubbo/ai/spring/boot/test/pojo/Person.java | 51 +++--- .../ai/spring/boot/test/service/AiService.java | 7 +- .../ai/spring/boot/test/service/MyAiService.java | 14 ++ .../src/main/resources/application.yml | 1 + 13 files changed, 462 insertions(+), 100 deletions(-) delete mode 100644 dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/AIResponseParser.java copy dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/model/{Response.java => Parser.java} (79%) create mode 100644 dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/model/parser/AiResponseParser.java create mode 100644 dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/model/parser/PrimitiveParserFactory.java copy dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/config/AiModelProviderConfig.java => dubbo-ai-openai/src/test/java/org/apache/dubbo/ai/openai/pojo/Person.java (55%) copy dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/config/AiModelProviderConfig.java => dubbo-ai-test/dubbo-spring-boot-test/src/main/java/org/apache/dubbo/ai/spring/boot/test/pojo/Person.java (61%)