大语言模型调用仓库

sunxy cb019e218b init hace 1 año
src cb019e218b init hace 1 año
.gitignore cb019e218b init hace 1 año
README.md cb019e218b init hace 1 año
pom.xml cb019e218b init hace 1 año

README.md

封装阿里云日志服务sdk

使用方法

1 引入pom

<dependency>
    <groupId>com.tzld.commons</groupId>
    <artifactId>aliyun-log-spring-boot-starter</artifactId>
    <version>3.0.0</version>
</dependency>

2 设置endpoint,accessKeyId,accessKeySecret参数

aliyun:
  log:
    endpoint: 
    accessKeyId: 
    accessKeySecret: 

3 引入aliyunLogManager

@Autowired
AliyunLogManager aliyunLogManager;

4 调用sendLog发送日志,

5 调用queryLog查询日志,注意:查询日志性能消耗较大,请不要在高并发业务中使用