Function
llmPredict
(data: {
communityName: string;
query: string;
threadId: string;
})
Source from the content-addressed store, hash-verified
| 49 | }; |
| 50 | |
| 51 | async function llmPredict(data: { |
| 52 | communityName: string; |
| 53 | query: string; |
| 54 | threadId: string; |
| 55 | }) { |
| 56 | const r = await llmServer.post<LLMPredictionResponse>('/predict', data); |
| 57 | return r.data; |
| 58 | } |
| 59 | |
| 60 | export const llmQuestion = async (payload: any, helpers: JobHelpers) => { |
| 61 | const logger = new Logger(helpers.logger); |
Tested by
no test coverage detected