File tree Expand file tree Collapse file tree 4 files changed +20
-6
lines changed
spring-ai-alibaba-chat-example/openai
src/main/java/com/alibaba/cloud/ai Expand file tree Collapse file tree 4 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 2
2
3
3
作为一个 Example 项目,我们希望您在提交代码时遵守以下规则:
4
4
5
- 1 . 提交的 Example 必须是完整的,包含必要的 README.md 和注释说明 ;
6
- 2 . 在提交 PR 之后,自己阅览所提的 PR 确保没有基础问题,例如代码格式,错别字等 ;
5
+ 1 . 提交的 Example 必须是完整的,包含必要的 README.md 和 ** 方法参数 ** 注释说明 ;
6
+ 2 . 在提交 PR 之后,自己阅览所提的 PR 确保没有基础问题,例如代码格式,错别字,是否包含 ** License Header ** 等 ;
7
7
3 . 如果提交的 Example 需要使用到本地模型,可以使用 Docker/Docker Compose 等工具提供;
8
- 4 . 给每个 Example 选择合适的 module。
8
+ 4 . 给每个 Example 选择合适的 module;
9
+ 5 . 如果每个模型的 Example 示例都类似,可以不用拆分二级目录的模型名;
10
+ 6 . 如果要在项目使用 json 序列化工具,推荐使用 jackson;
11
+ 7 . 如果要在项目中使用工具类,推荐使用 Apache Common Utils 或者 Spring 相关工具类。
9
12
10
13
## Spring AI Alibaba Example 的项目结构
11
14
Original file line number Diff line number Diff line change 4
4
5
5
- [ ] Audio Example
6
6
- [ ] Image Example
7
- - [ ] Plugin Example
7
+ - [ ] Vector Store Example
8
+ - [ ] Function Calling Plugin Example
8
9
- [ ] RAG Example
9
10
- [X] Chat Example
10
11
- [ ] Structured Example
11
12
- [ ] Observability Example
12
- - [ ] Integration Example
13
+ - [ ] Agent Example
13
14
- [ ] Prompt Example
14
15
- [ ] Multi Model Example
15
- - [ ] Function Example
16
16
17
17
除了上述 Example 项目之外,我们欢迎您贡献任何有用的 Example 项目。
Original file line number Diff line number Diff line change
1
+ package com .alibaba .cloud .ai ;
2
+
3
+ /**
4
+ * @author yuluo
5
+ * @author <a href="mailto:yuluo08290126@gmail.com">yuluo</a>
6
+ */
7
+ public class Main {
8
+ public static void main (String [] args ) {
9
+ System .out .println ("Hello world!" );
10
+ }
11
+ }
You can’t perform that action at this time.
0 commit comments