(self, fewshot="\n", model_name="text-davinci-003")
| 5 | |
| 6 | class IO: |
| 7 | def __init__(self, fewshot="\n", model_name="text-davinci-003"): |
| 8 | self.fewshot = fewshot |
| 9 | self.model_name = model_name |
| 10 | self.llm = LLMNode("CoT", model_name, input_type=str, output_type=str) |
| 11 | self.context_prompt = "Answer following questions. Respond directly with no extra words.\n" |
| 12 | self.token_unit_price = get_token_unit_price(model_name) |
| 13 | |
| 14 | def run(self, input): |
| 15 | result = {} |
nothing calls this directly
no test coverage detected