Spring AI supports the use of Functions when dealing with prompts and chat models.
Let's see if we can provide the content as a function when asking the LLM to generate a summary.
This function would take care of downloading the content and stripping down useless content (images).
Spring AI supports the use of Functions when dealing with prompts and chat models.
Let's see if we can provide the content as a function when asking the LLM to generate a summary. This function would take care of downloading the content and stripping down useless content (images).