Spring
Why Spring
Overview Microservices Reactive Event Driven Cloud Web Applications Serverless Batch
Learn
Overview Quickstart Guides Blog
Projects
Overview Spring Boot Spring Framework Spring Cloud Spring Cloud Data Flow Spring Data Spring Integration Spring Batch Spring Security View all projects Spring Tools 4 Spring Initializr
Academy
Courses Get Certified
Solutions
Overview Spring Runtime Spring Consulting Spring Academy For Teams Security Advisories
Community
Overview Events Team
Spring AI 0.8.1
    • 概述
    • AI概念
    • 入门指南
    • Spring AI API
      • 聊天完成 API
        • OpenAI
          • 函数调用
        • Ollama
        • Azure OpenAI
          • 函数调用
        • Amazon Bedrock
          • Anthropic
          • Llama2
          • Cohere
          • Titan
        • HuggingFace
        • Google VertexAI
          • VertexAI PaLM2
          • VertexAI Gemini
            • 函数调用
        • Mistral AI
          • 函数调用
      • 嵌入式 API
        • OpenAI
        • Ollama
        • Azure OpenAI
        • PostgresML
        • Google VertexAI PaLM2
        • Amazon Bedrock
          • Cohere
          • Titan
        • Transformers (ONNX)
        • Mistral AI
      • 图像生成 API
        • OpenAI
        • 稳定性
      • 转录 API
        • OpenAI
      • 向量数据库
        • Azure AI 服务
        • Chroma
        • Milvus
        • Neo4j
        • PGvector
        • Weaviate
        • Redis
        • Pinecone
        • Qdrant
      • 函数调用
      • 提示
      • 输出解析器
      • ETL 管道
      • 评估测试
      • 通用模型 API
    • 贡献指南
    • 附录
      • 升级说明
Edit this Page GitHub Project Stack Overflow
  • Spring AI
  • Spring AI API
  • Function Calling

函数调用API

在AI模型中集成函数支持,例如ChatGPT,允许模型请求执行客户端函数,从而根据需要动态访问必要信息或执行任务。

Spring AI目前支持以下AI模型的函数调用

  • OpenAI: 请参阅开放AI函数调用文档。

  • VertexAI Gemini: 请参阅VertexAI Gemini函数调用文档。

  • Azure OpenAI: 请参阅Azure OpenAI函数调用文档。

  • Mistral AI: 请参阅Mistral AI函数调用文档。

齐段 提示
  • Spring AI
    • 1.0.0-SNAPSHOT
    • 0.8.1current
  • Related Spring Documentation
    • Spring Framework
    • Spring Cloud
      • Spring Cloud Build
      • Spring Cloud Bus
      • Spring Cloud Circuit Breaker
      • Spring Cloud Commons
      • Spring Cloud Config
      • Spring Cloud Consul
      • Spring Cloud Contract
      • Spring Cloud Function
      • Spring Cloud Gateway
      • Spring Cloud Kubernetes
      • Spring Cloud Netflix
      • Spring Cloud OpenFeign
      • Spring Cloud Stream
      • Spring Cloud Task
      • Spring Cloud Vault
      • Spring Cloud Zookeeper
    • Spring Data
      • Spring Data Cassandra
      • Spring Data Commons
      • Spring Data Couchbase
      • Spring Data Elasticsearch
      • Spring Data JPA
      • Spring Data KeyValue
      • Spring Data LDAP
      • Spring Data MongoDB
      • Spring Data Neo4j
      • Spring Data Redis
      • Spring Data JDBC & R2DBC
      • Spring Data REST
    • Spring Integration
    • Spring Batch
    • Spring Security
      • Spring Authorization Server
      • Spring LDAP
      • Spring Security Kerberos
      • Spring Session
      • Spring Vault
    • Spring AI
    • Spring CLI
    • Spring GraphQL
    • Spring for Apache Kafka
    • Spring Modulith
    • Spring for Apache Pulsar
    • Spring Shell
  • All Docs...
Spring

© VMware, Inc. or its affiliates. Terms of Use • Privacy • Trademark Guidelines • Thank you • Your California Privacy Rights • Cookie Settings

Apache®, Apache Tomcat®, Apache Kafka®, Apache Cassandra™, and Apache Geode™ are trademarks or registered trademarks of the Apache Software Foundation in the United States and/or other countries. Java™, Java™ SE, Java™ EE, and OpenJDK™ are trademarks of Oracle and/or its affiliates. Kubernetes® is a registered trademark of the Linux Foundation in the United States and other countries. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Windows® and Microsoft® Azure are registered trademarks of Microsoft Corporation. “AWS” and “Amazon Web Services” are trademarks or registered trademarks of Amazon.com Inc. or its affiliates. All other trademarks and copyrights are property of their respective owners and are only mentioned for informative purposes. Other names may be trademarks of their respective owners.

Search in all Spring Docs