MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / split

Method split

runtime/node/splitter.py:19–28  ·  view source on GitHub ↗

Split inputs into execution units. Args: inputs: Input messages to split Returns: List of message groups, each group is one execution unit

(self, inputs: List[Message])

Source from the content-addressed store, hash-verified

17
18 @abstractmethod
19 def split(self, inputs: List[Message]) -> List[List[Message]]:
20 """Split inputs into execution units.
21
22 Args:
23 inputs: Input messages to split
24
25 Returns:
26 List of message groups, each group is one execution unit
27 """
28 pass
29
30
31class MessageSplitter(Splitter):

Callers 15

_normalize_typeMethod · 0.45
load_dotenv_fileFunction · 0.45
add_cors_middlewareFunction · 0.45
_extract_descriptionFunction · 0.45
titleizeFunction · 0.45
getHelpContentFunction · 0.45
_find_chapter_rangeFunction · 0.45
report_create_chapterFunction · 0.45
_split_csvFunction · 0.45
_extract_arrayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected