mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 01:06:19 +00:00
Add AssetsEngine and related files
This commit is contained in:
24
src/engines/AssetsEngine/BaseAssetsEngine.py
Normal file
24
src/engines/AssetsEngine/BaseAssetsEngine.py
Normal file
@@ -0,0 +1,24 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from ..BaseEngine import BaseEngine
|
||||
from typing import TypedDict
|
||||
from moviepy.editor import ImageClip, VideoFileClip
|
||||
|
||||
|
||||
|
||||
class BaseAssetsEngine(BaseEngine):
|
||||
"""
|
||||
The base class for all assets engines.
|
||||
|
||||
Attributes:
|
||||
specification (dict): A dictionary containing the specification of the engine, especially what an object returned by the llm should look like.
|
||||
spec_name (str): A comprehensive name for the specification for purely llm purposes.
|
||||
spec_description (str): A comprehensive description for the specification for purely llm purposes.
|
||||
"""
|
||||
|
||||
specification: dict
|
||||
spec_name: str
|
||||
spec_description: str
|
||||
|
||||
@abstractmethod
|
||||
def get_assets(self, options: list) -> list:
|
||||
...
|
||||
Reference in New Issue
Block a user