mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 17:24:54 +00:00
🚀
This commit is contained in:
10
src/engines/LLMEngine/BaseLLMEngine.py
Normal file
10
src/engines/LLMEngine/BaseLLMEngine.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from ..BaseEngine import BaseEngine
|
||||
|
||||
import openai
|
||||
|
||||
class BaseLLMEngine(BaseEngine):
|
||||
|
||||
@abstractmethod
|
||||
def generate(self, system_prompt: str, chat_prompt: str, max_tokens: int, temperature: float, top_p: float, frequency_penalty: float, presence_penalty: float) -> str:
|
||||
pass
|
||||
Reference in New Issue
Block a user