MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / draw_conclusion

Function draw_conclusion

bmtools/tools/meta_analysis/api.py:161–167  ·  view source on GitHub ↗
(topic, allcon)

Source from the content-addressed store, hash-verified

159 return sm, prob
160
161def draw_conclusion(topic, allcon):
162 prp = 'We want to explore '+topic+'. Read the analysis table for several articles and summarize your conclusion. # Table: '+'\n'+allcon+'\n # Conclusion: '
163 lt = len(prp.split(' '))
164 response = generate_response(prp, 4000-2*lt)
165 print(allcon)
166 print(response)
167 return response.replace('\n', ' ')
168
169def draw_subtable(pth, topic, docs):
170 fw = open(pth, 'w')

Callers 1

generate_summaryFunction · 0.85

Calls 1

generate_responseFunction · 0.85

Tested by

no test coverage detected