Фиксация изменений
This commit is contained in:
7
app/modules/rag/intent_router_v2/protocols.py
Normal file
7
app/modules/rag/intent_router_v2/protocols.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Protocol
|
||||
|
||||
|
||||
class TextGenerator(Protocol):
|
||||
def generate(self, prompt_name: str, user_input: str, *, log_context: str | None = None) -> str: ...
|
||||
Reference in New Issue
Block a user