CineAI commited on
Commit
dd8fb0e
1 Parent(s): 9fc3351

Update command/command_interface.py

Browse files
Files changed (1) hide show
  1. command/command_interface.py +2 -2
command/command_interface.py CHANGED
@@ -5,12 +5,12 @@ from abc import ABC, abstractmethod
5
  class CommandHandler(ABC):
6
  # {"base": {"name": command}, "advance": {"name": command}}
7
  @abstractmethod
8
- def get_command() -> Dict[str, Dict[str, list]] -> Any:
9
  "Method to get command from yaml file and return dictionary"
10
  pass
11
 
12
  @abstractmethod
13
- def is_contains(text: Optional[str], llm: Any, prompt: Any, command: Dict[str, Dict[str, list]]) -> bool:
14
  """Method to check contains command in text or not"""
15
  pass
16
 
 
5
  class CommandHandler(ABC):
6
  # {"base": {"name": command}, "advance": {"name": command}}
7
  @abstractmethod
8
+ def get_command() -> Dict[str, Dict[str, list]]:
9
  "Method to get command from yaml file and return dictionary"
10
  pass
11
 
12
  @abstractmethod
13
+ def is_contains() -> bool:
14
  """Method to check contains command in text or not"""
15
  pass
16