fix: 优化架构
This commit is contained in:
12
engine/adapters/llm/base.py
Normal file
12
engine/adapters/llm/base.py
Normal file
@@ -0,0 +1,12 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any
|
||||
|
||||
|
||||
class BaseLLM:
|
||||
def generate_script(self, prompt: str, context: dict[str, Any] | None = None) -> Any:
|
||||
raise NotImplementedError
|
||||
|
||||
def refine_scene(self, scene: Any, context: dict[str, Any] | None = None) -> Any:
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user