Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Fields
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.ai.azure.openai.AzureOpenAiChatClient.withDefaultOptions(AzureOpenAiChatOptions)
    since 0.8.0, use AzureOpenAiChatClient(OpenAIClient, AzureOpenAiChatOptions) instead.
    org.springframework.ai.openai.OpenAiChatClient.withDefaultOptions(OpenAiChatOptions)
    since 0.8.0, use the OpenAiChatClient(OpenAiApi, OpenAiChatOptions) constructor instead.
    org.springframework.ai.postgresml.PostgresMlEmbeddingClient(JdbcTemplate, String)
    org.springframework.ai.postgresml.PostgresMlEmbeddingClient(JdbcTemplate, String, PostgresMlEmbeddingClient.VectorType)
    Use the constructor with PostgresMlEmbeddingOptions instead.
    org.springframework.ai.postgresml.PostgresMlEmbeddingClient(JdbcTemplate, String, PostgresMlEmbeddingClient.VectorType, Map<String, Object>, MetadataMode)
  • Deprecated Fields
    Field
    Description
    org.springframework.ai.vectorstore.filter.antlr4.FiltersLexer.tokenNames
    Use FiltersLexer.VOCABULARY instead.
    org.springframework.ai.vectorstore.filter.antlr4.FiltersParser.tokenNames
    Use FiltersParser.VOCABULARY instead.
  • Deprecated Methods
    Method
    Description
    org.springframework.ai.azure.openai.AzureOpenAiChatClient.withDefaultOptions(AzureOpenAiChatOptions)
    since 0.8.0, use AzureOpenAiChatClient(OpenAIClient, AzureOpenAiChatOptions) instead.
    org.springframework.ai.ollama.OllamaChatClient.withModel(String)
    Use OllamaOptions.setModel(java.lang.String) instead.
    org.springframework.ai.ollama.OllamaEmbeddingClient.withModel(String)
    Use OllamaOptions.setModel(java.lang.String) instead.
    org.springframework.ai.openai.OpenAiChatClient.withDefaultOptions(OpenAiChatOptions)
    since 0.8.0, use the OpenAiChatClient(OpenAiApi, OpenAiChatOptions) constructor instead.
    org.springframework.ai.vectorstore.filter.antlr4.FiltersLexer.getTokenNames()
    org.springframework.ai.vectorstore.filter.antlr4.FiltersParser.getTokenNames()
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.ai.postgresml.PostgresMlEmbeddingClient(JdbcTemplate, String)
    org.springframework.ai.postgresml.PostgresMlEmbeddingClient(JdbcTemplate, String, PostgresMlEmbeddingClient.VectorType)
    Use the constructor with PostgresMlEmbeddingOptions instead.
    org.springframework.ai.postgresml.PostgresMlEmbeddingClient(JdbcTemplate, String, PostgresMlEmbeddingClient.VectorType, Map<String, Object>, MetadataMode)

Copyright © 2024 VMware Inc.. All rights reserved.