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 44dd1f5  Create README.md
     add f47efa3  init dubbo ai 1.0
     add bd4d5e2  init springboot starter
     add 520acd2  init springboot starter
     add d290b1b  init springboot starter
     add 4c0ca3b  remove sout
     new 8392060  Merge pull request #1 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:
 .gitignore                                         |  40 +++++++
 dubbo-ai-common/pom.xml                            |  36 ++++++
 dubbo-ai-core/pom.xml                              |  90 +++++++++++++++
 .../org/apache/dubbo/ai/core/AIResponseParser.java |  26 +++++
 .../org/apache/dubbo/ai/core/DubboAiReference.java |  38 +++++++
 .../org/apache/dubbo/ai/core/DubboAiService.java   |  47 ++++++++
 .../java/org/apache/dubbo/ai/core/Options.java     |  22 ++++
 .../main/java/org/apache/dubbo/ai/core/Prompt.java |  35 ++++++
 .../dubbo/ai/core/RegisterDubboAiService.java      |  78 +++++++++++++
 .../apache/dubbo/ai/core/chat/model/ChatModel.java |  22 ++++
 .../chat/model/DefaultLoadBalanceChatModel.java    |  36 ++++++
 .../ai/core/chat/model/LoadBalanceChatModel.java   |  63 +++++++++++
 .../apache/dubbo/ai/core/config/AiModelConfig.java |  28 +++++
 .../ai/core/config/AiModelProviderConfig.java      |  60 ++++++++++
 .../org/apache/dubbo/ai/core/config/Configs.java   |  41 +++++++
 .../org/apache/dubbo/ai/core/model/AiModels.java   |  34 ++++++
 .../apache/dubbo/ai/core/model/ModelFactory.java   |  43 +++++++
 .../org/apache/dubbo/ai/core/model/Response.java   |  24 ++++
 .../ai/core/proxy/AiServiceInterfaceImpl.java      | 125 +++++++++++++++++++++
 .../apache/dubbo/ai/core/proxy/ProxyGenerator.java |  41 +++++++
 .../dubbo/ai/core/stream/AiStreamObserver.java     |  40 +++++++
 .../apache/dubbo/ai/core/util/PropertiesUtil.java  |  72 ++++++++++++
 .../dubbo/ai/core/config/PropertiesUtilTest.java   |  38 +++++++
 dubbo-ai-openai/pom.xml                            |  68 +++++++++++
 .../ai/openai/chat/model/OpenAiChatModel.java      |  37 ++++++
 .../apache/dubbo/ai/openai/model/OpenAiModels.java |  65 +++++++++++
 .../dubbo/org.apache.dubbo.ai.core.model.AiModels  |   1 +
 .../org/apache/dubbo/ai/openai/MyAiService.java    |  39 +++++++
 .../dubbo/ai/openai/model/OpenAiModelsTest.java    |  35 ++++++
 dubbo-ai-spring-boot-starter/pom.xml               |  63 +++++++++++
 .../ai/spring/boot/DubboAiAutoConfiguration.java   |  30 +++++
 .../spring/boot/DubboAiConfigurationRegistrar.java | 107 ++++++++++++++++++
 .../dubbo/ai/spring/boot/DubboAiInitializer.java   |  38 +++++++
 .../ai/spring/boot/DubboAiPackageScanner.java      |  52 +++++++++
 .../ai/spring/boot/EnableDubboAiConfiguration.java |  34 ++++++
 ...rk.boot.autoconfigure.AutoConfiguration.imports |   1 +
 dubbo-ai-test/dubbo-spring-boot-test/pom.xml       |  69 ++++++++++++
 .../ai/spring/boot/test/DubboAiApplication.java    |  32 ++++++
 .../ai/spring/boot/test/service/AiService.java     |  38 +++++++
 .../ai/spring/boot/test/service/MyAiService.java   |  29 +++++
 .../src/main/resources/application.yml             |   3 +
 dubbo-ai-test/pom.xml                              |  48 ++++++++
 pom.xml                                            |  94 ++++++++++++++++
 43 files changed, 1962 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 dubbo-ai-common/pom.xml
 create mode 100644 dubbo-ai-core/pom.xml
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/AIResponseParser.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/DubboAiReference.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/DubboAiService.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/Options.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/Prompt.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/RegisterDubboAiService.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/chat/model/ChatModel.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/chat/model/DefaultLoadBalanceChatModel.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/chat/model/LoadBalanceChatModel.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/config/AiModelConfig.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/config/AiModelProviderConfig.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/config/Configs.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/model/AiModels.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/model/ModelFactory.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/model/Response.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/proxy/AiServiceInterfaceImpl.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/proxy/ProxyGenerator.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/stream/AiStreamObserver.java
 create mode 100644 
dubbo-ai-core/src/main/java/org/apache/dubbo/ai/core/util/PropertiesUtil.java
 create mode 100644 
dubbo-ai-core/src/test/java/org/apache/dubbo/ai/core/config/PropertiesUtilTest.java
 create mode 100644 dubbo-ai-openai/pom.xml
 create mode 100644 
dubbo-ai-openai/src/main/java/org/apache/dubbo/ai/openai/chat/model/OpenAiChatModel.java
 create mode 100644 
dubbo-ai-openai/src/main/java/org/apache/dubbo/ai/openai/model/OpenAiModels.java
 create mode 100644 
dubbo-ai-openai/src/main/resources/META-INF/dubbo/org.apache.dubbo.ai.core.model.AiModels
 create mode 100644 
dubbo-ai-openai/src/test/java/org/apache/dubbo/ai/openai/MyAiService.java
 create mode 100644 
dubbo-ai-openai/src/test/java/org/apache/dubbo/ai/openai/model/OpenAiModelsTest.java
 create mode 100644 dubbo-ai-spring-boot-starter/pom.xml
 create mode 100644 
dubbo-ai-spring-boot-starter/src/main/java/org/apache/dubbo/ai/spring/boot/DubboAiAutoConfiguration.java
 create mode 100644 
dubbo-ai-spring-boot-starter/src/main/java/org/apache/dubbo/ai/spring/boot/DubboAiConfigurationRegistrar.java
 create mode 100644 
dubbo-ai-spring-boot-starter/src/main/java/org/apache/dubbo/ai/spring/boot/DubboAiInitializer.java
 create mode 100644 
dubbo-ai-spring-boot-starter/src/main/java/org/apache/dubbo/ai/spring/boot/DubboAiPackageScanner.java
 create mode 100644 
dubbo-ai-spring-boot-starter/src/main/java/org/apache/dubbo/ai/spring/boot/EnableDubboAiConfiguration.java
 create mode 100644 
dubbo-ai-spring-boot-starter/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
 create mode 100644 dubbo-ai-test/dubbo-spring-boot-test/pom.xml
 create mode 100644 
dubbo-ai-test/dubbo-spring-boot-test/src/main/java/org/apache/dubbo/ai/spring/boot/test/DubboAiApplication.java
 create mode 100644 
dubbo-ai-test/dubbo-spring-boot-test/src/main/java/org/apache/dubbo/ai/spring/boot/test/service/AiService.java
 create mode 100644 
dubbo-ai-test/dubbo-spring-boot-test/src/main/java/org/apache/dubbo/ai/spring/boot/test/service/MyAiService.java
 create mode 100644 
dubbo-ai-test/dubbo-spring-boot-test/src/main/resources/application.yml
 create mode 100644 dubbo-ai-test/pom.xml
 create mode 100644 pom.xml

Reply via email to