chainfury_server.engines.fury module
- class chainfury_server.engines.fury.FuryEngine[source]
Bases:
EngineInterface
- property engine_name: str
- run(chatbot: ChatBot, prompt: ApiPromptBody, db: Session, start: float, store_ir: bool, store_io: bool) CFPromptResult [source]
This is the main entry point for the engine. It should return a CFPromptResult.
- stream(chatbot: ChatBot, prompt: ApiPromptBody, db: Session, start: float, store_ir: bool, store_io: bool) Generator[Tuple[CFPromptResult | Dict[str, Any], bool], None, None] [source]
This is the main entry point for the engine. It should return a CFPromptResult.
- submit(chatbot: ChatBot, prompt: ApiPromptBody, db: Session, start: float, store_ir: bool, store_io: bool) CFPromptResult [source]
This is the main entry point for the engine. It should return a CFPromptResult.