MCPcopy
hub / github.com/Tele-AI/Telechat / parse_data

Function parse_data

service/telechat_service.py:101–104  ·  view source on GitHub ↗
(dialog)

Source from the content-addressed store, hash-verified

99
100
101def parse_data(dialog):
102 history = dialog[:-1]
103 query = dialog[-1].get("content")
104 return history, query
105
106
107@app.post('/telechat/gptDialog/v2')

Callers 2

doc_gptDialog_v2Function · 0.85
doc_gptDialog_v3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected