MCPcopy Create free account
hub / github.com/chenfei-wu/TaskMatrix / check_prompt

Method check_prompt

visual_chatgpt.py:1210–1214  ·  view source on GitHub ↗
(self, prompt)

Source from the content-addressed store, hash-verified

1208 return BLIP_caption
1209
1210 def check_prompt(self, prompt):
1211 check = f"Here is a paragraph with adjectives. " \
1212 f"{prompt} " \
1213 f"Please change all plural forms in the adjectives to singular forms. "
1214 return self.llm(check)
1215
1216 def get_imagine_caption(self, image, imagine):
1217 BLIP_caption = self.get_BLIP_caption(image)

Callers 2

get_imagine_captionMethod · 0.95
dowhileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected