- Issue created by @Akhil Babu
📌
Create Context upcaster for complex data types
Active
introduced data type conversion capabilities for tools. Now, various AiDataTypeConverter
plugins are available to automatically convert tool parameters to their expected data_type format. For example, Drupal\ai\Plugin\AiDataTypeConverter\EntityConverter
can directly provide the full node object to the execute() method of an AI tool (i.e. AiFunctionCall plugin) when a parameter like node:1 is passed.
However, in some cases, this automatic conversion is not needed. The arguments passed to the tool should be used as is. This comment highlights one such scenario. 📌 Remove AiDataTypeConverterPluginManager from Base class and load via trait Active
As suggested here 📌 Remove AiDataTypeConverterPluginManager from Base class and load via trait Active , it would be helpful to provide a way for developers to opt out of this conversion when it's not desired.
Active
1.2
...to be triaged