You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2024/07/10 09:55:55 UTC

(dubbo-ai) 01/01: Merge pull request #2 from xixingya/main

This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-ai.git

commit 0c267218b6eb2192f45ca88919352690e475b9fe
Merge: 8392060 c007739
Author: Ken Liu <ke...@gmail.com>
AuthorDate: Wed Jul 10 17:55:50 2024 +0800

    Merge pull request #2 from xixingya/main
    
    add response parser

 README.md                                          |  52 +++++-
 .../{AIResponseParser.java => model/Parser.java}   |  19 ++-
 .../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    |  74 +++++++++
 .../{service/AiService.java => 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 +
 12 files changed, 510 insertions(+), 42 deletions(-)