Skip to content

Commit

Permalink
LPD-36525 poshi: Semantic search configs are now part of search web
Browse files Browse the repository at this point in the history
  • Loading branch information
oliv-yu authored and brianchandotcom committed Sep 21, 2024
1 parent 44106df commit 1a2e94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-test-semantic-search.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN python -c "from txtai.api import API; API('config.yml', False)"</echo>
<arg value="-c" />
<arg value="docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' ${container.prefix}_txtai" />
</exec>
<echo file="${liferay.home}/osgi/configs/com.liferay.search.experiences.configuration.SemanticSearchConfiguration.config">textEmbeddingCacheTimeout="604800"
<echo file="${liferay.home}/osgi/configs/com.liferay.portal.search.configuration.SemanticSearchConfiguration.config">textEmbeddingCacheTimeout="604800"
textEmbeddingProviderConfigurationJSONs=["\{\"attributes\": \{\"hostAddress\": \"http://${txtai.container.ip}:8000\", \"maxCharacterCount\": 500\}, \"embeddingVectorDimensions\": 768, \"languageIds\": [\"en_US\"], \"modelClassNames\": [\"com.liferay.blogs.model.BlogsEntry\", \"com.liferay.journal.model.JournalArticle\", \"com.liferay.knowledge.base.model.KBArticle\", \"com.liferay.message.boards.model.MBMessage\", \"com.liferay.wiki.model.WikiPage\"], \"providerName\": \"txtai\"\}"]
textEmbeddingsEnabled="true"</echo>
</sequential>
Expand Down

0 comments on commit 1a2e94c

Please sign in to comment.