feat(ai): implement AI models management and configuration in admin panel
This commit is contained in:
@@ -2,7 +2,8 @@ import { Injectable, Logger, ServiceUnavailableException } from '@nestjs/common'
|
||||
import { FlatCategory } from '../categories/categories.service';
|
||||
|
||||
const MISTRAL_API_URL = 'https://api.mistral.ai/v1/chat/completions';
|
||||
const MODEL = 'mistral-small-2603';
|
||||
export const AI_CATEGORIZATION_MODEL = 'mistral-small-2603';
|
||||
const MODEL = AI_CATEGORIZATION_MODEL;
|
||||
|
||||
export type CategorySuggestion = {
|
||||
categoryId: number;
|
||||
|
||||
Reference in New Issue
Block a user