- ๐ฌ๐งUnited Kingdom scott_euser
You can use the rendered entity instead, then you can control within a view mode what exactly you would like to have chunked. Hope that helps!
Hi all, I'm using the AI Search functionality and currently stuck at the indexing stage. Specifically, I'm trying to figure out how to handle chunking and embedding when my content is spread across multiple fields (e.g., `summary`, `solution`, etc.).
The module only allows one field to be marked as "Main content" for chunking, as described here: โThis is the main body content. It is typically longer and needs to be broken into chunks. Queries by end-users are performed on this content. Usually only one field should be main content and a more advanced Embedding Strategy may be needed to support multiple main contents.โ
I'm wondering is there a recommended way to include multiple main contents in chunking and embedding? Any guidance or clarification would be greatly appreciated!
I attempted to use the rendered HTML output as the single field for "Main content", but it includes a lot of irrelevant markup (e.g., links, images), which introduces noise into the vectorization process.
Iโd like to explore ways to merge the text from multiple fields before chunking, ideally without modifying how the content is displayed on the site.
None expected
None expected
None expected
None expected
Active
1.1
AI Search
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
You can use the rendered entity instead, then you can control within a view mode what exactly you would like to have chunked. Hope that helps!