UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

18 lines (13 loc) 533 B
import { publicProcedure, asyncRouter as router } from '@/libs/trpc/async'; import { fileRouter } from './file'; import { imageRouter } from './image'; import { ragEvalRouter } from './ragEval'; export const asyncRouter = router({ file: fileRouter, healthcheck: publicProcedure.query(() => "i'm live!"), image: imageRouter, ragEval: ragEvalRouter, }); export type AsyncRouter = typeof asyncRouter; export type { UnifiedAsyncCaller } from './caller'; export { createAsyncCaller, createAsyncServerClient } from './caller';