[Doc] Guide for adding multi-modal plugins (#6205)
This commit is contained in:
@@ -100,6 +100,7 @@ def repeat_and_pad_image_tokens(
|
||||
|
||||
|
||||
class ImagePlugin(MultiModalPlugin):
|
||||
"""Plugin for image data."""
|
||||
|
||||
def get_data_key(self) -> str:
|
||||
return "image"
|
||||
|
||||
Reference in New Issue
Block a user