首页 > 其他分享 >Sping AI(初步了解)

Sping AI(初步了解)

时间:2024-07-10 11:44:04浏览次数:7  
标签:documents framework AI Sping 初步 Models Vector OpenAI

一、什么是Spring AI

 

 二、Spring AI的主要特点

  Spring AI提供的API支持跨人工智能提供商的聊天、文本到图像、嵌入模型等,同时支持同步喝流API选项;

1、Chat Models 聊天模型

  • OpenAI
  • Azure Open AI
  • Amazon Bedrock
    • Cohere's Command
    • AI21 Labs' Jurassic-2
    • Meta's LLama 2
    • Amazon's Titan
  • Google Vertex AI Palm
  • Google Gemini
  • HuggingFace - access thousands of models, including those from Meta such as Llama2
  • Ollama - run AI models on your local machine
  • MistralAI

2、Text-to-image Models

  • OpenAI with DALL-E
  • StabilityAI

3、Transcription (audio to text) Models

  • OpenAI

4、Embedding Models

  • OpenAI
  • Azure OpenAI
  • Ollama
  • ONNX
  • PostgresML
  • Bedrock Cohere
  • Bedrock Titan
  • Google VertexAI
  • Mistal AI

The Vector Store API provides portability across different providers, featuring a novel SQL-like metadata filtering API that maintains portability.

5、Vector Databases

  • Azure Vector Search
  • Chroma
  • Milvus
  • Neo4j
  • PostgreSQL/PGVector
  • PineCone
  • Redis
  • Weaviate
  • Qdrant

6、Spring Boot Auto Configuration and Starters for AI Models and Vector Stores.

7、Function calling 

You can declare java.util.Function implementations to OpenAI models for use in their prompt responses. You can directly provide these functions as objects or refer to their names if registered as a @Bean within the application context. This feature minimizes unnecessary code and enables the AI model to ask for more information to fulfill its response.

Models supported are

  • OpenAI
  • Azure OpenAI
  • VertexAI
  • Mistral AI
  • Anthropic Claude

8、ETL framework for Data Engineering

  • The core functionality of our ETL framework is to facilitate the transfer of documents to model providers using a Vector Store. The ETL framework is based on Java functional programming concepts, helping you chain together multiple steps.
  • We support reading documents in various formats, including PDF, JSON, and more.
  • The framework allows for data manipulation to suit your needs. This often involves splitting documents to adhere to context window limitations and enhancing them with keywords for improved document retrieval effectiveness.
  • Finally, processed documents are stored in the Vector Database, making them accessible for future retrieval.

9、Extensive reference documentation, sample applications, and workshop/course material.

Future releases will build upon this foundation to provide access to additional AI Models, for example, the Gemini multi-modal modal just released by Google, a framework for evaluating the effectiveness of your AI application, more convenience APIs, and features to help solve the “query/summarize my documents” use cases. Check GitHub for details on upcoming releases.

 

标签:documents,framework,AI,Sping,初步,Models,Vector,OpenAI
From: https://www.cnblogs.com/jhdhl/p/18293587

相关文章

  • 走进 AI 无人直播 解放双手 创新驱动 惊喜不断
    AI无人直播是一项令人惊叹的技术创新,这一创举正逐渐改变我们对传统直播的认知。它不仅能解放主播的双手,还能驱使创新思维,(V:tlkj124)为观众带来持续的惊喜。首先,AI无人直播通过智能化技术实现了主播的“无人”状态。传统直播需要主播亲自操作摄像机、调整画面和声音等,而AI无......
  • pip is configured with locations that require TLS/SSL, however the ssl module in
    使用Ubuntu16.04(已内置python2.7)安装python3.10之后,再使用pip3安装包的时候总是报错:WARNING:pipisconfiguredwithlocationsthatrequireTLS/SSL,howeverthesslmoduleinPythonisnotavailable.Lookinginindexes:https://pypi.tuna.tsinghua.edu.cn/simpleRequi......
  • 您的AI英语搭子!
    本文由ChatMoney团队出品人工智能的发展,掀起了一波又一波AI浪潮,适合英语老师的AI软件也不断问世,老师们可以借助AI技术辅助自己的教学、帮助学生学习。你是否苦于想学习英语却没有语言环境,写英语内容时不知道语法和拼写是否正确,不知道表达方式是否足够的“Native”?那么试试chat......
  • AI绘画comfyui工作流,商业海报设计、Logo设计,一个comfyui工作流就能搞定!
    前言创新设计工作流:轻松打造LOGO和海报本文涉及的工作流和插件,需要的朋友请扫描免费获取哦—HAPPYNEWYEAR—大家好!今天我要分享的是一个高效且创新的设计工作流,这一工具由国外的网友无私分享,适用于LOGO设计和海报创作。这不仅是对开源精神的致敬,也为我们的设计工......
  • 下一个风口不是直播而是AIGC!分享一份月入过万秘籍!
    前言ai绘画能实现日赚过千,你信吗?现在什么是风口?当然是ai绘画。而AI绘画里,什么最受欢迎,不用说,自然是二次元。然后,很多人一拥而上,都去拍自己的二次元照片,然后在各大短视频平台发发,但如果你想要兼职赚那怎么发才能赚到钱呢?一、现在抖音、西瓜、头条在共同推中视频计划,我......
  • AI绘画商业实战| 深入剖析儿童绘本AI绘画商业变现攻略!
    前言其实通过AI绘画来完成儿童绘本的插画部分,只是整个儿童绘本创意设计的其中一个环节。想要完整的做完一套儿童绘本,需要体系化的思考、创意、设计和制作,本期我们就简单聊一下整个闭环。一、确定目标受众和主题风格做儿童绘本首先要明确的是目标受众的年龄段,这决定了主......
  • AI副业新赛道盘点,这些AI副业已经在赚钱了!
    前言疫情放开经济反而不好了,钱越来越不好赚了,985,大厂等这些之前耀眼的光环也没有了竞争力,很多人开始琢磨第二职业。今天给大家推荐3个2024年已经跑通的AI副业项目一.老照片修复StableDiffusion是一款任何图片秒变8K分辨率,甚至可以自动补充画面中没有的细节的软件,体会一......
  • 您的AI英语搭子!
    本文由ChatMoney团队出品人工智能的发展,掀起了一波又一波AI浪潮,适合英语老师的AI软件也不断问世,老师们可以借助AI技术辅助自己的教学、帮助学生学习。你是否苦于想学习英语却没有语言环境,写英语内容时不知道语法和拼写是否正确,不知道表达方式是否足够的“Native”?那么试试chat......
  • 科研加速器FlowUs你的智能论文助手与协作伙伴|文献整理软件|论文进度跟踪|AI辅助研究|科研
    FlowUs这个科研神器简直太棒了!试了一下,你的论文进度一目了然,就像有了一个智能助手在帮你规划每一天。日历视图让你的计划和截止日期清晰可见,再也不用担心错过任何重要的研究里程碑。日历视图:FlowUs的日历视图功能可以帮助你可视化论文的进度。你可以设置论文写作的各个阶段,如......
  • AI赋能,全面筑牢防线:重点非煤矿山重大灾害风险防控系统探析
    一、背景需求随着工业化和现代化的快速发展,非煤矿山作为重要的资源开采基地,其安全生产问题日益受到社会各界的广泛关注。非煤矿山在开采过程中,面临着诸多重大灾害风险,如滑坡、坍塌、水害、火灾等,这些灾害一旦发生,不仅会造成巨大的经济损失,还会对人员安全构成严重威胁。因此,构建一......