code
stringlengths
1.02k
14.1k
apis
listlengths
1
7
extract_api
stringlengths
72
2.99k
package com.thomasvitale.ai.spring; import jakarta.annotation.PostConstruct; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.ai.document.Document; import org.springframework.ai.reader.ExtractedTextFormatter; import org.springframework.ai.reader.pdf.PagePdfDocumentReader; import org....
[ "org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig.builder", "org.springframework.ai.reader.ExtractedTextFormatter.builder" ]
[((1474, 1880), 'org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig.builder'), ((1474, 1855), 'org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig.builder'), ((1474, 1814), 'org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig.builder'), ((1556, 1813), 'org.springframework.ai.read...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.watsonx.api.WatsonxAiRequest.builder", "org.springframework.ai.watsonx.utils.MessageToPromptConverter.create" ]
[((4737, 4861), 'org.springframework.ai.watsonx.utils.MessageToPromptConverter.create'), ((4737, 4822), 'org.springframework.ai.watsonx.utils.MessageToPromptConverter.create'), ((4737, 4798), 'org.springframework.ai.watsonx.utils.MessageToPromptConverter.create'), ((4873, 4949), 'org.springframework.ai.watsonx.api.Wats...
package org.springframework.ai.aot.test.pgvector; import java.util.List; import java.util.Map; import org.springframework.ai.document.Document; import org.springframework.ai.embedding.EmbeddingClient; import org.springframework.ai.vectorstore.SearchRequest; import org.springframework.ai.vectorstore.VectorStore; impor...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((1540, 1581), 'org.springframework.ai.vectorstore.SearchRequest.query')]
package com.xisui.springbootai; import org.junit.jupiter.api.Test; import org.springframework.ai.document.Document; import org.springframework.ai.embedding.EmbeddingClient; import org.springframework.ai.reader.JsonReader; import org.springframework.ai.reader.TextReader; import org.springframework.ai.reader.tika.TikaDo...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((1589, 1630), 'org.springframework.ai.vectorstore.SearchRequest.query')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.OpenAiEmbeddingOptions.builder" ]
[((2092, 2168), 'org.springframework.ai.openai.OpenAiEmbeddingOptions.builder'), ((2092, 2160), 'org.springframework.ai.openai.OpenAiEmbeddingOptions.builder'), ((2846, 2922), 'org.springframework.ai.openai.OpenAiEmbeddingOptions.builder'), ((2846, 2914), 'org.springframework.ai.openai.OpenAiEmbeddingOptions.builder')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder" ]
[((2022, 2101), 'com.redis.testcontainers.RedisStackContainer.DEFAULT_IMAGE_NAME.withTag'), ((6436, 6464), 'java.util.UUID.randomUUID'), ((9159, 9394), 'org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder'), ((9159, 9381), 'org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorSt...
package org.springframework.ai.aot.test.mistralai; import java.util.List; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; import reactor.core.publisher.Flux; import org.springframework.ai.chat.ChatResponse; import org.springframework.ai.chat.prompt.Prompt; import org.spr...
[ "org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.SMALL.getValue", "org.springframework.ai.mistralai.MistralAiChatOptions.builder" ]
[((2380, 2581), 'org.springframework.ai.mistralai.MistralAiChatOptions.builder'), ((2380, 2573), 'org.springframework.ai.mistralai.MistralAiChatOptions.builder'), ((2380, 2498), 'org.springframework.ai.mistralai.MistralAiChatOptions.builder'), ((2458, 2497), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatModel....
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((1490, 1619), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((1490, 1575), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((1490, 1540), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((2392, 2450), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((3066, 3106), 'org.spr...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel.COHERE_EMBED_MULTILINGUAL_V1.id" ]
[((1642, 1696), 'org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel.COHERE_EMBED_MULTILINGUAL_V1.id'), ((1750, 1771), 'software.amazon.awssdk.regions.Region.US_EAST_1.id')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vertexai.gemini.VertexAiGeminiChatClient.ChatModel.GEMINI_PRO_VISION.getValue" ]
[((2039, 2102), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatClient.ChatModel.GEMINI_PRO_VISION.getValue')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.titan.api.TitanChatBedrockApi.TitanChatModel.TITAN_TEXT_EXPRESS_V1.id" ]
[((6965, 7006), 'org.springframework.ai.bedrock.titan.api.TitanChatBedrockApi.TitanChatModel.TITAN_TEXT_EXPRESS_V1.id'), ((7062, 7083), 'software.amazon.awssdk.regions.Region.US_EAST_1.id')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.cohere.api.CohereChatBedrockApi.CohereChatModel.COHERE_COMMAND_V14.id" ]
[((1726, 1765), 'org.springframework.ai.bedrock.cohere.api.CohereChatBedrockApi.CohereChatModel.COHERE_COMMAND_V14.id'), ((1819, 1840), 'software.amazon.awssdk.regions.Region.US_EAST_1.id')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.ollama.api.OllamaOptions.create", "org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder" ]
[((3672, 3730), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder'), ((3672, 3722), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder'), ((7650, 7711), 'org.springframework.ai.ollama.api.OllamaOptions.create'), ((7650, 7689), 'org.springframework.ai.ollama.api.OllamaOptions.create')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.TINY.getValue", "org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel.EMBED.getValue" ]
[((3594, 3632), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.TINY.getValue'), ((3808, 3852), 'org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel.EMBED.getValue')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.OpenAiChatOptions.builder", "org.springframework.ai.model.function.FunctionCallbackWrapper.builder" ]
[((2715, 3039), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((2715, 3026), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((2778, 3024), 'org.springframework.ai.model.function.FunctionCallbackWrapper.builder'), ((2778, 3010), 'org.springframework.ai.model.function.FunctionCallbackWrapper.bu...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.model.function.FunctionCallbackWrapper.builder", "org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.SMALL.getValue", "org.springframework.ai.mistralai.MistralAiChatOptions.builder" ]
[((3188, 3227), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.SMALL.getValue'), ((3459, 3856), 'org.springframework.ai.mistralai.MistralAiChatOptions.builder'), ((3459, 3842), 'org.springframework.ai.mistralai.MistralAiChatOptions.builder'), ((3526, 3840), 'org.springframework.ai.model.function.FunctionC...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.jurassic2.api.Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatModel.AI21_J2_ULTRA_V1.id" ]
[((1542, 1586), 'org.springframework.ai.bedrock.jurassic2.api.Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatModel.AI21_J2_ULTRA_V1.id'), ((1591, 1612), 'software.amazon.awssdk.regions.Region.US_EAST_1.id')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder" ]
[((2882, 2954), 'org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder'), ((2882, 2946), 'org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder'), ((3164, 3237), 'org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder'), ((3164, 3229), 'org.springframework.ai.azure.openai.AzureOpen...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder" ]
[((2330, 2433), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder'), ((2330, 2421), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder'), ((2330, 2402), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder'), ((2330, 2384), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builde...
package org.springframework.ai.aot.test.openai; import java.util.List; import java.util.function.Function; import java.util.stream.Collectors; import com.fasterxml.jackson.annotation.JsonClassDescription; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include;...
[ "org.springframework.ai.openai.OpenAiChatOptions.builder" ]
[((2890, 2953), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((2890, 2945), 'org.springframework.ai.openai.OpenAiChatOptions.builder')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder" ]
[((2180, 2431), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder'), ((2180, 2419), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder'), ((2180, 2368), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder'), ((2180, 2291), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.bu...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingModel.TITAN_EMBED_IMAGE_V1.id" ]
[((2155, 2176), 'software.amazon.awssdk.regions.Region.US_EAST_1.id'), ((2227, 2272), 'org.springframework.ai.bedrock.titan.api.TitanEmbeddingBedrockApi.TitanEmbeddingModel.TITAN_EMBED_IMAGE_V1.id'), ((3407, 3448), 'java.util.Base64.getEncoder'), ((4035, 4059), 'software.amazon.awssdk.regions.Region.EU_CENTRAL_1.id'), ...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((3730, 3774), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((5055, 5128), 'java.util.List.of'), ((5055, 5119), 'java.util.List.of'), ((5055, 5095), 'java.util.List.of')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.mistralai.MistralAiChatOptions.builder", "org.springframework.ai.model.function.FunctionCallbackWrapper.builder", "org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.LARGE.getValue" ]
[((2949, 2988), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.LARGE.getValue'), ((3330, 3634), 'org.springframework.ai.mistralai.MistralAiChatOptions.builder'), ((3330, 3620), 'org.springframework.ai.mistralai.MistralAiChatOptions.builder'), ((3330, 3398), 'org.springframework.ai.mistralai.MistralAiChatO...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.model.function.FunctionCallbackWrapper.builder", "org.springframework.ai.vertexai.gemini.VertexAiGeminiChatClient.ChatModel.GEMINI_PRO.getValue", "org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder" ]
[((3304, 3673), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((3304, 3661), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((3304, 3411), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((3354, 3410), 'org.springframework.ai.vert...
package com.kousenit.springaiexamples.rag; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.ai.chat.ChatClient; import org.springframework.ai.chat.ChatResponse; import org.springframework.ai.chat.Generation; import org.springframework.ai.chat.messages.Message; import org.springframew...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((3128, 3168), 'org.springframework.ai.vectorstore.SearchRequest.query')]
package habuma.springaiimagegen; import org.springframework.ai.image.ImageClient; import org.springframework.ai.image.ImageOptions; import org.springframework.ai.image.ImageOptionsBuilder; import org.springframework.ai.image.ImagePrompt; import org.springframework.ai.image.ImageResponse; import org.springframework.ste...
[ "org.springframework.ai.image.ImageOptionsBuilder.builder" ]
[((784, 877), 'org.springframework.ai.image.ImageOptionsBuilder.builder'), ((784, 852), 'org.springframework.ai.image.ImageOptionsBuilder.builder')]
package org.example.springai.retriever; import java.util.List; import java.util.Objects; import java.util.Optional; import org.springframework.ai.document.Document; import org.springframework.ai.document.DocumentRetriever; import org.springframework.ai.vectorstore.SearchRequest; import org.springframework.ai.vectorst...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((1529, 1572), 'org.springframework.ai.vectorstore.SearchRequest.query')]
package ai.ssudikon.springai; import org.springframework.ai.chat.ChatClient; import org.springframework.ai.chat.messages.UserMessage; import org.springframework.ai.chat.prompt.Prompt; import org.springframework.ai.chat.prompt.SystemPromptTemplate; import org.springframework.ai.document.Document; import org.springframe...
[ "org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig.builder" ]
[((3902, 4125), 'org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig.builder'), ((3902, 4117), 'org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig.builder'), ((3902, 4093), 'org.springframework.ai.reader.pdf.config.PdfDocumentReaderConfig.builder')]
package com.thehecklers.aiaiai00800; import org.springframework.ai.azure.openai.AzureOpenAiChatClient; import org.springframework.ai.azure.openai.AzureOpenAiChatOptions; import org.springframework.ai.chat.ChatResponse; import org.springframework.ai.chat.messages.*; import org.springframework.ai.chat.prompt.Prompt; imp...
[ "org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder" ]
[((2921, 3018), 'org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder'), ((2921, 3010), 'org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder')]
package com.example.springaioutputparserdemo; import com.example.springaioutputparserdemo.entity.ActorsFilms; import org.springframework.ai.chat.ChatClient; import org.springframework.ai.chat.Generation; import org.springframework.ai.chat.prompt.Prompt; import org.springframework.ai.chat.prompt.PromptTemplate; import ...
[ "org.springframework.ai.openai.OpenAiImageOptions.builder" ]
[((1895, 2115), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((1895, 2107), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((1895, 2060), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((1895, 2012), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((1895, 1972), ...
package com.thomasvitale.ai.spring; import org.springframework.ai.chat.ChatClient; import org.springframework.ai.chat.messages.AssistantMessage; import org.springframework.ai.chat.messages.UserMessage; import org.springframework.ai.chat.prompt.Prompt; import org.springframework.ai.chat.prompt.SystemPromptTemplate; imp...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((1539, 1579), 'org.springframework.ai.vectorstore.SearchRequest.query')]
package com.alok.ai.spring.ollama; import com.alok.ai.spring.model.Message; import org.springframework.ai.ollama.api.OllamaApi; import org.springframework.ai.ollama.api.OllamaOptions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.sp...
[ "org.springframework.ai.ollama.api.OllamaApi.Message.builder", "org.springframework.ai.ollama.api.OllamaOptions.create", "org.springframework.ai.ollama.api.OllamaApi.ChatRequest.builder" ]
[((661, 826), 'org.springframework.ai.ollama.api.OllamaApi.Message.builder'), ((661, 805), 'org.springframework.ai.ollama.api.OllamaApi.Message.builder'), ((661, 720), 'org.springframework.ai.ollama.api.OllamaApi.Message.builder'), ((900, 1063), 'org.springframework.ai.ollama.api.OllamaApi.Message.builder'), ((900, 104...
package com.example.springaivectorsearchqueryjson.services; import org.springframework.ai.document.Document; import org.springframework.ai.reader.JsonMetadataGenerator; import org.springframework.ai.reader.JsonReader; import org.springframework.ai.vectorstore.SearchRequest; import org.springframework.ai.vectorst...
[ "org.springframework.ai.vectorstore.SearchRequest.defaults" ]
[((1301, 1406), 'org.springframework.ai.vectorstore.SearchRequest.defaults'), ((1301, 1368), 'org.springframework.ai.vectorstore.SearchRequest.defaults')]
package com.ea.ai.rag.dms.infrastructure.repository.config.aiClient.openai; import org.springframework.ai.openai.OpenAiChatClient; import org.springframework.ai.openai.OpenAiChatOptions; import org.springframework.ai.openai.api.OpenAiApi; import org.springframework.beans.factory.annotation.Value; import org.springfram...
[ "org.springframework.ai.openai.OpenAiChatOptions.builder" ]
[((1124, 1352), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1124, 1319), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1124, 1263), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1124, 1203), 'org.springframework.ai.openai.OpenAiChatOptions.builder')]
package com.thomasvitale.ai.spring; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.ai.chat.ChatClient; import org.springframework.ai.chat.messages.AssistantMessage; import org.springframework.ai.chat.messages.UserMessage; import org.springframework.ai.chat.prompt.Prompt; import org...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((1841, 1881), 'org.springframework.ai.vectorstore.SearchRequest.query')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.api.OpenAiApi.ChatCompletionMessage.Role.valueOf", "org.springframework.ai.openai.metadata.OpenAiChatResponseMetadata.from" ]
[((5994, 6079), 'org.springframework.ai.openai.metadata.OpenAiChatResponseMetadata.from'), ((9137, 9198), 'org.springframework.ai.openai.api.OpenAiApi.ChatCompletionMessage.Role.valueOf')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.TINY.getValue", "org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.Role.valueOf" ]
[((3142, 3180), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.TINY.getValue'), ((7075, 7149), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatCompletionMessage.Role.valueOf')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.OpenAiImageOptions.builder" ]
[((1375, 1411), 'org.springframework.ai.openai.OpenAiImageOptions.builder')]
package com.example.springaiimagegenerator.controller; import org.springframework.ai.image.Image; import org.springframework.ai.image.ImageClient; import org.springframework.ai.image.ImagePrompt; import org.springframework.ai.image.ImageResponse; import org.springframework.ai.openai.OpenAiImageOptions; import org.spri...
[ "org.springframework.ai.openai.OpenAiImageOptions.builder" ]
[((945, 1173), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((945, 1165), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((945, 1116), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((945, 1066), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((945, 1024), 'org....
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.api.OpenAiAudioApi.TtsModel.TTS_1.getValue", "org.springframework.ai.openai.api.OpenAiAudioApi.SpeechRequest.builder" ]
[((1927, 2097), 'org.springframework.retry.support.RetryTemplate.builder'), ((1927, 2086), 'org.springframework.retry.support.RetryTemplate.builder'), ((1927, 2006), 'org.springframework.retry.support.RetryTemplate.builder'), ((1927, 1969), 'org.springframework.retry.support.RetryTemplate.builder'), ((2549, 2589), 'org...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.document.DefaultContentFormatter.builder" ]
[((2573, 2868), 'org.springframework.ai.document.DefaultContentFormatter.builder'), ((2573, 2802), 'org.springframework.ai.document.DefaultContentFormatter.builder'), ((2573, 2738), 'org.springframework.ai.document.DefaultContentFormatter.builder'), ((2573, 2668), 'org.springframework.ai.document.DefaultContentFormatte...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder" ]
[((1426, 1468), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder'), ((1693, 1735), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.jurassic2.BedrockAi21Jurassic2ChatClient.builder" ]
[((2751, 2871), 'org.springframework.ai.bedrock.jurassic2.BedrockAi21Jurassic2ChatClient.builder'), ((2751, 2859), 'org.springframework.ai.bedrock.jurassic2.BedrockAi21Jurassic2ChatClient.builder')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.jurassic2.api.Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatRequest.builder", "org.springframework.ai.bedrock.MessageToPromptConverter.create" ]
[((2709, 2777), 'org.springframework.ai.bedrock.MessageToPromptConverter.create'), ((2817, 2870), 'org.springframework.ai.bedrock.jurassic2.api.Ai21Jurassic2ChatBedrockApi.Ai21Jurassic2ChatRequest.builder')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel.COHERE_EMBED_MULTILINGUAL_V1.id", "org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions.builder" ]
[((1772, 1826), 'org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel.COHERE_EMBED_MULTILINGUAL_V1.id'), ((1908, 2056), 'org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions.builder'), ((1908, 2045), 'org.springframework.ai.bedrock.cohere.BedrockCohereEmbeddingOptions....
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.PineconeVectorStore.PineconeVectorStoreConfig.builder" ]
[((1671, 2002), 'org.springframework.ai.vectorstore.PineconeVectorStore.PineconeVectorStoreConfig.builder'), ((1671, 1990), 'org.springframework.ai.vectorstore.PineconeVectorStore.PineconeVectorStoreConfig.builder'), ((1671, 1929), 'org.springframework.ai.vectorstore.PineconeVectorStore.PineconeVectorStoreConfig.builde...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vertexai.palm2.VertexAiPaLm2ChatOptions.builder" ]
[((1408, 1537), 'org.springframework.ai.vertexai.palm2.VertexAiPaLm2ChatOptions.builder'), ((1408, 1526), 'org.springframework.ai.vertexai.palm2.VertexAiPaLm2ChatOptions.builder'), ((1408, 1510), 'org.springframework.ai.vertexai.palm2.VertexAiPaLm2ChatOptions.builder'), ((1408, 1485), 'org.springframework.ai.vertexai.p...
package org.springframework.ai.dashcope.image; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.ai.dashcope.DashCopeTestConfiguration; import org.springframework.ai.image.ImageClient; import org.springframework.ai.image.ImageOptions; import org.spri...
[ "org.springframework.ai.image.ImageOptionsBuilder.builder" ]
[((882, 952), 'org.springframework.ai.image.ImageOptionsBuilder.builder'), ((882, 944), 'org.springframework.ai.image.ImageOptionsBuilder.builder'), ((882, 928), 'org.springframework.ai.image.ImageOptionsBuilder.builder')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.postgresml.PostgresMlEmbeddingClient.VectorType.PG_ARRAY.name", "org.springframework.ai.postgresml.PostgresMlEmbeddingClient.VectorType.PG_VECTOR.name" ]
[((2582, 2680), 'org.testcontainers.utility.DockerImageName.parse'), ((6884, 6911), 'org.springframework.ai.postgresml.PostgresMlEmbeddingClient.VectorType.PG_VECTOR.name'), ((8059, 8085), 'org.springframework.ai.postgresml.PostgresMlEmbeddingClient.VectorType.PG_ARRAY.name'), ((8759, 8825), 'org.assertj.core.api.Asser...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((3193, 3337), 'org.awaitility.Awaitility.await'), ((3266, 3317), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((3397, 3448), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((4004, 4137), 'org.awaitility.Awaitility.await'), ((4077, 4117), 'org.springframework.ai.vectorstore.SearchRequest.quer...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.titan.api.TitanChatBedrockApi.TitanChatModel.TITAN_TEXT_EXPRESS_V1.id" ]
[((2381, 2402), 'software.amazon.awssdk.regions.Region.US_EAST_1.id'), ((2448, 2489), 'org.springframework.ai.bedrock.titan.api.TitanChatBedrockApi.TitanChatModel.TITAN_TEXT_EXPRESS_V1.id'), ((4578, 4602), 'software.amazon.awssdk.regions.Region.EU_CENTRAL_1.id'), ((5221, 5245), 'software.amazon.awssdk.regions.Region.EU...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((3887, 3931), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((5237, 5310), 'java.util.List.of'), ((5237, 5301), 'java.util.List.of'), ((5237, 5277), 'java.util.List.of')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder", "org.springframework.ai.model.function.FunctionCallbackWrapper.builder" ]
[((2627, 2879), 'org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder'), ((2627, 2865), 'org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder'), ((2696, 2863), 'org.springframework.ai.model.function.FunctionCallbackWrapper.builder'), ((2696, 2848), 'org.springframework.ai.model.function.Func...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.api.OpenAiAudioApi.WhisperModel.WHISPER_1.getValue", "org.springframework.ai.openai.api.OpenAiAudioApi.TranslationRequest.builder", "org.springframework.ai.openai.api.OpenAiAudioApi.TtsModel.TTS_1_HD.getValue", "org.springframework.ai.openai.api.OpenAiAudioApi.TranscriptionReque...
[((1866, 2039), 'org.springframework.ai.openai.api.OpenAiAudioApi.SpeechRequest.builder'), ((1866, 2026), 'org.springframework.ai.openai.api.OpenAiAudioApi.SpeechRequest.builder'), ((1866, 1999), 'org.springframework.ai.openai.api.OpenAiAudioApi.SpeechRequest.builder'), ((1866, 1934), 'org.springframework.ai.openai.api...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.llama2.api.Llama2ChatBedrockApi.Llama2ChatModel.LLAMA2_70B_CHAT_V1.id" ]
[((1301, 1340), 'org.springframework.ai.bedrock.llama2.api.Llama2ChatBedrockApi.Llama2ChatModel.LLAMA2_70B_CHAT_V1.id'), ((1394, 1415), 'software.amazon.awssdk.regions.Region.US_EAST_1.id')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.MIXTRAL.getValue", "org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel.EMBED.getValue" ]
[((1486, 1530), 'org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel.EMBED.getValue'), ((1722, 1763), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.MIXTRAL.getValue')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.anthropic3.api.Anthropic3ChatBedrockApi.AnthropicChatModel.CLAUDE_V3_SONNET.id" ]
[((7441, 7506), 'org.springframework.ai.bedrock.anthropic3.api.Anthropic3ChatBedrockApi.AnthropicChatModel.CLAUDE_V3_SONNET.id'), ((7562, 7583), 'software.amazon.awssdk.regions.Region.US_EAST_1.id')]
package org.springframework.ai.memory; import org.springframework.ai.chat.messages.AssistantMessage; import org.springframework.ai.chat.messages.Message; import org.springframework.ai.chat.messages.MessageType; import org.springframework.ai.chat.messages.UserMessage; import java.util.ArrayList; import java.util.List;...
[ "org.springframework.ai.chat.messages.MessageType.USER.getValue", "org.springframework.ai.chat.messages.MessageType.ASSISTANT.getValue" ]
[((433, 460), 'org.springframework.ai.chat.messages.MessageType.USER.getValue'), ((490, 522), 'org.springframework.ai.chat.messages.MessageType.ASSISTANT.getValue'), ((1578, 1605), 'org.springframework.ai.chat.messages.MessageType.USER.getValue'), ((1663, 1695), 'org.springframework.ai.chat.messages.MessageType.ASSISTA...
/* * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
[ "org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder" ]
[((4473, 4750), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((4473, 4683), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((4473, 4589), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((5724, 5809), 'org.springframework.ai.vert...
package com.demo.stl.aijokes.ask; import com.demo.stl.aijokes.JokeController; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.ai.document.Document; import org.springframework.ai.embedding.EmbeddingClient; import org.springframework.ai.openai.OpenAiEmbeddingClient; import org.springf...
[ "org.springframework.ai.openai.OpenAiEmbeddingOptions.builder" ]
[((1695, 1771), 'org.springframework.ai.openai.OpenAiEmbeddingOptions.builder'), ((1695, 1763), 'org.springframework.ai.openai.OpenAiEmbeddingOptions.builder')]
package com.example.springbootaiintegration.mongoRepos.dtos; import lombok.Data; import org.springframework.ai.chat.messages.AssistantMessage; import org.springframework.ai.chat.messages.Message; import org.springframework.ai.chat.messages.MessageType; import org.springframework.ai.chat.messages.UserMessage; @Data pu...
[ "org.springframework.ai.chat.messages.MessageType.USER.getValue", "org.springframework.ai.chat.messages.MessageType.ASSISTANT.getValue" ]
[((793, 825), 'org.springframework.ai.chat.messages.MessageType.ASSISTANT.getValue'), ((889, 916), 'org.springframework.ai.chat.messages.MessageType.USER.getValue')]
package com.example.thehealingmeal.gpt; import com.example.thehealingmeal.gpt.dto.AiResDto; import com.example.thehealingmeal.gpt.responseRepository.GPTResponse; import com.example.thehealingmeal.gpt.responseRepository.ResponseRepository; import com.example.thehealingmeal.member.domain.User; import com.example.theheal...
[ "org.springframework.ai.openai.OpenAiChatOptions.builder" ]
[((1615, 1858), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1615, 1817), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1615, 1757), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1615, 1697), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((3387, 3526), 'com...
/** * Authored by jayxu @2023 */ package com.jayxu.playground.spring.mvc; import java.util.Collections; import java.util.List; import org.springframework.ai.chat.prompt.Prompt; import org.springframework.ai.image.ImagePrompt; import org.springframework.ai.image.ImageResponse; import org.springframework.ai.openai.Op...
[ "org.springframework.ai.openai.OpenAiChatOptions.builder", "org.springframework.ai.openai.OpenAiImageOptions.builder" ]
[((2033, 2093), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((2033, 2085), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((3636, 3811), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((3636, 3803), 'org.springframework.ai.openai.OpenAiImageOptions.builder'), ((3636, 3794), 'o...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.llama2.api.Llama2ChatBedrockApi.Llama2ChatRequest.builder", "org.springframework.ai.bedrock.MessageToPromptConverter.create" ]
[((3681, 3749), 'org.springframework.ai.bedrock.MessageToPromptConverter.create'), ((3782, 3828), 'org.springframework.ai.bedrock.llama2.api.Llama2ChatBedrockApi.Llama2ChatRequest.builder')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.postgresml.PostgresMlEmbeddingOptions.builder" ]
[((1557, 1805), 'org.springframework.ai.postgresml.PostgresMlEmbeddingOptions.builder'), ((1557, 1794), 'org.springframework.ai.postgresml.PostgresMlEmbeddingOptions.builder'), ((1557, 1754), 'org.springframework.ai.postgresml.PostgresMlEmbeddingOptions.builder'), ((1557, 1730), 'org.springframework.ai.postgresml.Postg...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.llama2.api.Llama2ChatBedrockApi.Llama2ChatModel.LLAMA2_70B_CHAT_V1.id", "org.springframework.ai.bedrock.llama2.BedrockLlama2ChatOptions.builder" ]
[((1516, 1555), 'org.springframework.ai.bedrock.llama2.api.Llama2ChatBedrockApi.Llama2ChatModel.LLAMA2_70B_CHAT_V1.id'), ((1632, 1724), 'org.springframework.ai.bedrock.llama2.BedrockLlama2ChatOptions.builder'), ((1632, 1713), 'org.springframework.ai.bedrock.llama2.BedrockLlama2ChatOptions.builder'), ((1632, 1691), 'org...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.builder", "org.springframework.ai.openai.api.OpenAiAudioApi.WhisperModel.WHISPER_1.getValue" ]
[((1257, 1305), 'org.springframework.ai.openai.api.OpenAiAudioApi.WhisperModel.WHISPER_1.getValue'), ((1581, 1775), 'org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.builder'), ((1581, 1764), 'org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.builder'), ((1581, 1717), 'org.springframework.ai.op...
package biz.lci.springaidemos; import lombok.extern.slf4j.Slf4j; import org.springframework.ai.chat.ChatClient; import org.springframework.ai.chat.ChatResponse; import org.springframework.ai.chat.Generation; import org.springframework.ai.chat.messages.Message; import org.springframework.ai.chat.messages.UserMessage; i...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((3386, 3427), 'org.springframework.ai.vectorstore.SearchRequest.query')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder" ]
[((1236, 1332), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((1236, 1321), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((1236, 1296), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder')]
package org.springframework.ai.aot.test.azure.openai; import java.util.List; import java.util.function.Function; import java.util.stream.Collectors; import com.fasterxml.jackson.annotation.JsonClassDescription; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.In...
[ "org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder" ]
[((3026, 3094), 'org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder'), ((3026, 3086), 'org.springframework.ai.azure.openai.AzureOpenAiChatOptions.builder')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel.COHERE_EMBED_MULTILINGUAL_V1.id" ]
[((3902, 3956), 'org.springframework.ai.bedrock.cohere.api.CohereEmbeddingBedrockApi.CohereEmbeddingModel.COHERE_EMBED_MULTILINGUAL_V1.id'), ((4012, 4033), 'software.amazon.awssdk.regions.Region.US_EAST_1.id')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.builder" ]
[((7304, 7332), 'java.util.UUID.randomUUID'), ((10268, 10463), 'org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.builder'), ((10268, 10450), 'org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.builder'), ((10268, 10418), 'org.springframework.ai.vectorstore.MilvusVec...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.builder" ]
[((1684, 1815), 'org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.builder'), ((1684, 1803), 'org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.builder'), ((1684, 1779), 'org.springframework.ai.openai.OpenAiAudioTranscriptionOptions.builder'), ((2382, 2566), 'org.springframework.ai.openai.OpenAi...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.LARGE.getValue" ]
[((2203, 2242), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.LARGE.getValue')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.anthropic.api.AnthropicChatBedrockApi.AnthropicChatModel.CLAUDE_V2.id" ]
[((1226, 1259), 'org.springframework.ai.bedrock.anthropic.api.AnthropicChatBedrockApi.AnthropicChatModel.CLAUDE_V2.id'), ((1264, 1288), 'software.amazon.awssdk.regions.Region.EU_CENTRAL_1.id')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.LARGE.getValue" ]
[((5057, 5096), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.LARGE.getValue'), ((6229, 6268), 'org.springframework.ai.mistralai.api.MistralAiApi.ChatModel.LARGE.getValue')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((3572, 3632), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((4021, 4072), 'org.springframework.ai.vectorstore.SearchRequest.query')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((2021, 2049), 'java.util.UUID.randomUUID'), ((2783, 2859), 'org.testcontainers.containers.wait.strategy.Wait.forHttp'), ((2783, 2840), 'org.testcontainers.containers.wait.strategy.Wait.forHttp'), ((2783, 2821), 'org.testcontainers.containers.wait.strategy.Wait.forHttp'), ((2890, 2997), 'org.testcontainers.containers....
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder", "org.springframework.ai.model.function.FunctionCallbackWrapper.builder", "org.springframework.ai.vertexai.gemini.VertexAiGeminiChatClient.ChatModel.GEMINI_PRO.getValue" ]
[((2504, 2560), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatClient.ChatModel.GEMINI_PRO.getValue'), ((3049, 3369), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((3049, 3355), 'org.springframework.ai.vertexai.gemini.VertexAiGeminiChatOptions.builder'), ((3121, 3353), 'org.sp...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.bedrock.titan.api.TitanChatBedrockApi.TitanChatModel.TITAN_TEXT_EXPRESS_V1.id" ]
[((1320, 1361), 'org.springframework.ai.bedrock.titan.api.TitanChatBedrockApi.TitanChatModel.TITAN_TEXT_EXPRESS_V1.id'), ((1415, 1436), 'software.amazon.awssdk.regions.Region.US_EAST_1.id')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((3386, 3520), 'org.awaitility.Awaitility.await'), ((3459, 3500), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((3580, 3621), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((4169, 4303), 'org.awaitility.Awaitility.await'), ((4242, 4283), 'org.springframework.ai.vectorstore.SearchRequest.quer...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.OpenAiChatOptions.builder", "org.springframework.ai.openai.api.OpenAiApi.ChatModel.GPT_4_TURBO_PREVIEW.getValue", "org.springframework.ai.model.function.FunctionCallbackWrapper.builder" ]
[((7264, 7644), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((7264, 7632), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((7264, 7357), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((7306, 7356), 'org.springframework.ai.openai.api.OpenAiApi.ChatModel.GPT_4_TURBO_PREVIEW.getV...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((3118, 3172), 'io.qdrant.client.QdrantGrpcClient.newBuilder'), ((3233, 3324), 'io.qdrant.client.grpc.Collections.VectorParams.newBuilder'), ((3233, 3316), 'io.qdrant.client.grpc.Collections.VectorParams.newBuilder'), ((3233, 3287), 'io.qdrant.client.grpc.Collections.VectorParams.newBuilder'), ((3586, 3626), 'org.spri...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((2208, 2287), 'com.redis.testcontainers.RedisStackContainer.DEFAULT_IMAGE_NAME.withTag'), ((2805, 2846), 'org.springframework.ai.vectorstore.SearchRequest.query'), ((3298, 3339), 'org.springframework.ai.vectorstore.SearchRequest.query')]
package com.example.thehealingmeal.gpt; import com.example.thehealingmeal.gpt.dto.AiResDto; import com.example.thehealingmeal.gpt.responseRepository.GPTResponse; import com.example.thehealingmeal.gpt.responseRepository.ResponseRepository; import com.example.thehealingmeal.member.domain.User; import com.example.theheal...
[ "org.springframework.ai.openai.OpenAiChatOptions.builder" ]
[((1615, 1858), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1615, 1817), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1615, 1757), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1615, 1697), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((3387, 3526), 'com...
package com.redis.demo.spring.ai; import org.springframework.ai.autoconfigure.vectorstore.redis.RedisVectorStoreProperties; import org.springframework.ai.chat.ChatClient; import org.springframework.ai.document.MetadataMode; import org.springframework.ai.transformers.TransformersEmbeddingClient; import org.springframew...
[ "org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder" ]
[((951, 1109), 'org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder'), ((951, 1101), 'org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder'), ((951, 1049), 'org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder'), ((951, 1012), 'o...
package com.example; import org.springframework.ai.chat.ChatClient; import org.springframework.ai.chat.ChatResponse; import org.springframework.ai.chat.StreamingChatClient; import org.springframework.ai.chat.prompt.ChatOptions; import org.springframework.ai.chat.prompt.Prompt; import org.springframework.ai.openai.Open...
[ "org.springframework.ai.openai.OpenAiChatOptions.builder" ]
[((1607, 1708), 'org.springframework.ai.openai.OpenAiChatOptions.builder'), ((1607, 1683), 'org.springframework.ai.openai.OpenAiChatOptions.builder')]
package com.example.springbootaiintegration.services; import com.example.springbootaiintegration.mongoRepos.dtos.MessageDto; import com.example.springbootaiintegration.mongoRepos.entities.Session; import org.springframework.ai.chat.StreamingChatClient; import org.springframework.ai.chat.messages.MessageType; import or...
[ "org.springframework.ai.chat.messages.MessageType.USER.getValue" ]
[((1074, 1101), 'org.springframework.ai.chat.messages.MessageType.USER.getValue')]
package com.example.pdfsimilaritysearch; import java.util.List; import java.util.Map; import java.util.Objects; import org.springframework.ai.vectorstore.SearchRequest; import org.springframework.ai.vectorstore.VectorStore; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.GetMapping...
[ "org.springframework.ai.vectorstore.SearchRequest.query" ]
[((867, 905), 'org.springframework.ai.vectorstore.SearchRequest.query')]
package com.ea.ai.rag.dms.infrastructure.repository.config.aiClient.ollama.chat; import org.springframework.ai.ollama.OllamaChatClient; import org.springframework.ai.ollama.api.OllamaApi; import org.springframework.ai.ollama.api.OllamaOptions; import org.springframework.beans.factory.annotation.Value; import org.sprin...
[ "org.springframework.ai.ollama.api.OllamaOptions.create" ]
[((1238, 1385), 'org.springframework.ai.ollama.api.OllamaOptions.create'), ((1238, 1319), 'org.springframework.ai.ollama.api.OllamaOptions.create')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.anthropic.AnthropicChatOptions.builder" ]
[((1595, 1806), 'org.springframework.ai.anthropic.AnthropicChatOptions.builder'), ((1595, 1795), 'org.springframework.ai.anthropic.AnthropicChatOptions.builder'), ((1595, 1735), 'org.springframework.ai.anthropic.AnthropicChatOptions.builder'), ((1595, 1678), 'org.springframework.ai.anthropic.AnthropicChatOptions.builde...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.mistralai.MistralAiEmbeddingOptions.builder", "org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel.EMBED.getValue" ]
[((1340, 1384), 'org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel.EMBED.getValue'), ((1666, 1797), 'org.springframework.ai.mistralai.MistralAiEmbeddingOptions.builder'), ((1666, 1786), 'org.springframework.ai.mistralai.MistralAiEmbeddingOptions.builder'), ((1666, 1739), 'org.springframework.ai.mistralai...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.embedding.EmbeddingOptions.EMPTY.equals" ]
[((4950, 5001), 'org.springframework.ai.embedding.EmbeddingOptions.EMPTY.equals')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.builder" ]
[((2302, 2718), 'org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.builder'), ((2302, 2706), 'org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.builder'), ((2302, 2643), 'org.springframework.ai.vectorstore.MilvusVectorStore.MilvusVectorStoreConfig.builder'), ((2302,...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.embedding.EmbeddingOptions.EMPTY.equals", "org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel.EMBED.getValue" ]
[((2121, 2165), 'org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel.EMBED.getValue'), ((3388, 3432), 'org.springframework.ai.mistralai.api.MistralAiApi.EmbeddingModel.EMBED.getValue'), ((3476, 3527), 'org.springframework.ai.embedding.EmbeddingOptions.EMPTY.equals')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.azure.openai.AzureOpenAiEmbeddingOptions.builder" ]
[((1363, 1459), 'org.springframework.ai.azure.openai.AzureOpenAiEmbeddingOptions.builder'), ((1363, 1448), 'org.springframework.ai.azure.openai.AzureOpenAiEmbeddingOptions.builder')]
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder" ]
[((1953, 2122), 'org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder'), ((1953, 2110), 'org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder'), ((1953, 2071), 'org.springframework.ai.vectorstore.RedisVectorStore.RedisVectorStoreConfig.builder'), ((1953, 2030)...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder" ]
[((1960, 2047), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder'), ((1960, 2039), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder'), ((1960, 2024), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builder'), ((1960, 2010), 'org.springframework.ai.chat.prompt.ChatOptionsBuilder.builde...
/* * Copyright 2023 - 2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
[ "org.springframework.ai.openai.metadata.support.OpenAiApiResponseHeaders.TOKENS_LIMIT_HEADER.getName", "org.springframework.ai.openai.metadata.support.OpenAiApiResponseHeaders.TOKENS_RESET_HEADER.getName", "org.springframework.ai.openai.metadata.support.OpenAiApiResponseHeaders.REQUESTS_LIMIT_HEADER.getName", ...
[((2485, 2736), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder'), ((2485, 2724), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder'), ((2485, 2673), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.builder'), ((2485, 2596), 'org.springframework.ai.openai.OpenAiAudioSpeechOptions.bu...