File size: 819 Bytes
7cc6e93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import os
import logging

import streamlit as st

from typing import Optional, Dict, Any
from ..command_interface import CommandInterface


class Documentation(CommandInterface):
    def __init__(self, 
                 command_file: str, 
                 commands: Optional[str], 
                 llm: Any, 
                 id: int):
        
        self.command_file = command_file

        if commands is not None:
            self.commands = commands
        else:
            self.commands = []

        self.llm = llm
        
        self.id = id

    def get_command() -> Dict[str, Dict[str, list]]:
        
        pass

    def is_contains(commands: Optional[str], llm: Any, id: Any, command: Dict[str, Dict[str, list]]) -> bool:
        
        pass
        
    def execute() -> Any:
        pass