MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / llmPredict

Function llmPredict

packages/queue/src/tasks/llm/index.ts:51–58  ·  view source on GitHub ↗
(data: {
  communityName: string;
  query: string;
  threadId: string;
})

Source from the content-addressed store, hash-verified

49};
50
51async 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
60export const llmQuestion = async (payload: any, helpers: JobHelpers) => {
61 const logger = new Logger(helpers.logger);

Callers 1

llmQuestionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected