(origin, option)
| 222 | } |
| 223 | }, |
| 224 | getStdData(origin, option) { |
| 225 | return JSON.stringify({ |
| 226 | 'model': option, |
| 227 | "temperature": 0.3, |
| 228 | 'messages': [ |
| 229 | {'role': 'system', 'content': chatMgs.getSystemMsg()}, |
| 230 | {'role': 'user', 'content': chatMgs.getUserMsg('hello')}, |
| 231 | {'role': "assistant", 'content': '你好'}, |
| 232 | {'role': 'user', 'content': origin} |
| 233 | ] |
| 234 | }) |
| 235 | }, |
| 236 | getOllamaData(origin, option) { |
| 237 | return JSON.stringify({ |
| 238 | 'model': option, |
nothing calls this directly
no outgoing calls
no test coverage detected