Move chat based enrichers to a new package to avoid conflicts with other enrichers in different modules

This commit is contained in:
Mark Pollack
2025-04-01 16:05:39 -04:00
parent f7f00328a1
commit 72e746db13
3 changed files with 4 additions and 4 deletions

View File

@@ -29,8 +29,8 @@ import org.springframework.ai.document.Document;
import org.springframework.ai.openai.OpenAiChatModel;
import org.springframework.ai.openai.api.OpenAiApi;
import org.springframework.ai.transformer.ContentFormatTransformer;
import org.springframework.ai.transformer.KeywordMetadataEnricher;
import org.springframework.ai.transformer.SummaryMetadataEnricher;
import org.springframework.ai.chat.transformer.KeywordMetadataEnricher;
import org.springframework.ai.chat.transformer.SummaryMetadataEnricher;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringBootConfiguration;
import org.springframework.boot.test.context.SpringBootTest;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ai.transformer;
package org.springframework.ai.chat.transformer;
import java.util.List;
import java.util.Map;

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.ai.transformer;
package org.springframework.ai.chat.transformer;
import java.util.ArrayList;
import java.util.HashMap;