MCPcopy
hub / github.com/lm-sys/FastChat / prompt_for_input

Method prompt_for_input

fastchat/serve/inference.py:321–322  ·  view source on GitHub ↗

Prompt for input from a role.

(self, role: str)

Source from the content-addressed store, hash-verified

319class ChatIO(abc.ABC):
320 @abc.abstractmethod
321 def prompt_for_input(self, role: str) -> str:
322 """Prompt for input from a role."""
323
324 @abc.abstractmethod
325 def prompt_for_output(self, role: str):

Callers 1

chat_loopFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected