Commit Graph

5 Commits

Author SHA1 Message Date
dee544a26c Add new engines and fix naming 2024-02-15 17:52:47 +01:00
5be7937ffa 🚀 Maaany things 2024-02-15 14:11:16 +01:00
9f88e6d069 feat(GenerationContext.py): add new file GenerationContext.py to handle the context of generation engines
feat(OpenaiLLMEngine.py): add orjson library for JSON serialization and deserialization, and implement the generate method to make API call to OpenAI chat completions endpoint

feat(__init__.py): import OpenaiLLMEngine in LLMEngine package

feat(BaseScriptEngine.py): add time_script method to the BaseScriptEngine class

feat(CustomScriptEngine.py): add new file CustomScriptEngine.py to handle custom script generation, implement generate method to return the provided script, and add get_options method to provide a textbox for the prompt input

feat(__init__.py): import CustomScriptEngine in ScriptEngine package

feat(__init__.py): import LLMEngine package and add OpenaiLLMEngine to the ENGINES dictionary

refactor(gradio_ui.py): change equal_height attribute of Row to False to allow different heights for input blocks
2024-02-15 11:23:36 +01:00
0594458865 🚀 2024-02-14 17:49:51 +01:00
e8121e3e8d Some stuff 2024-02-13 14:15:27 +01:00