Files
ragflow_python/web/src/pages/user-setting/utils.ts
balibabu cb2cbf500c feat: support Xinference (#319)
### What problem does this PR solve?

support xorbitsai inference as model provider

Issue link:#299

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
2024-04-11 18:17:45 +08:00

5 lines
158 B
TypeScript

import { LocalLlmFactories } from './constants';
export const isLocalLlmFactory = (llmFactory: string) =>
LocalLlmFactories.some((x) => x === llmFactory);