调用大模型例子
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
3.0 KiB

9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
8 months ago
9 months ago
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>3.2.5</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.jzx</groupId>
  12. <artifactId>tuling-flight-booking</artifactId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. <name>tuling-flight-booking</name>
  15. <description>stuling-flight-booking</description>
  16. <properties>
  17. <java.version>17</java.version>
  18. <spring-ai.version>1.0.0-M3</spring-ai.version>
  19. </properties>
  20. <dependencies>
  21. <dependency>
  22. <groupId>org.springframework.boot</groupId>
  23. <artifactId>spring-boot-starter-web</artifactId>
  24. </dependency>
  25. <!--
  26. 通义-->
  27. <dependency>
  28. <groupId>com.alibaba.cloud.ai</groupId>
  29. <artifactId>spring-ai-alibaba-starter</artifactId>
  30. <version>1.0.0-M3.3</version>
  31. </dependency>
  32. <!--
  33. openAI
  34. <dependency>
  35. <groupId>org.springframework.ai</groupId>
  36. <artifactId>spring-ai-openai-spring-boot-starter</artifactId>
  37. </dependency>-->
  38. <!--
  39. 千帆: 只能用v1 .v2不适配
  40. <dependency>
  41. <groupId>org.springframework.ai</groupId>
  42. <artifactId>spring-ai-qianfan-spring-boot-starter</artifactId>
  43. </dependency>-->
  44. <!--ollama
  45. <dependency>
  46. <groupId>org.springframework.ai</groupId>
  47. <artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
  48. </dependency>  -->
  49. <dependency>
  50. <groupId>org.springframework.boot</groupId>
  51. <artifactId>spring-boot-starter-test</artifactId>
  52. <scope>test</scope>
  53. </dependency>
  54. </dependencies>
  55. <dependencyManagement>
  56. <dependencies>
  57. <dependency>
  58. <groupId>org.springframework.ai</groupId>
  59. <artifactId>spring-ai-bom</artifactId>
  60. <version>${spring-ai.version}</version>
  61. <type>pom</type>
  62. <scope>import</scope>
  63. </dependency>
  64. </dependencies>
  65. </dependencyManagement>
  66. <build>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-maven-plugin</artifactId>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. <repositories>
  75. <repository>
  76. <id>spring-milestones</id>
  77. <name>Spring Milestones</name>
  78. <url>https://repo.spring.io/milestone</url>
  79. <snapshots>
  80. <enabled>false</enabled>
  81. </snapshots>
  82. </repository>
  83. </repositories>
  84. </project>