feat: update AI categorization model to 'mistral-tiny' for improved performance

This commit is contained in:
Nils-Johan Gynther
2026-05-02 08:39:52 +02:00
parent d6fef0145c
commit f67bf8baef
+1 -1
View File
@@ -2,7 +2,7 @@ import { Injectable, Logger, ServiceUnavailableException } from '@nestjs/common'
import { FlatCategory } from '../categories/categories.service'; import { FlatCategory } from '../categories/categories.service';
const MISTRAL_API_URL = 'https://api.mistral.ai/v1/chat/completions'; const MISTRAL_API_URL = 'https://api.mistral.ai/v1/chat/completions';
export const AI_CATEGORIZATION_MODEL = 'mistral-small-2603'; export const AI_CATEGORIZATION_MODEL = 'mistral-tiny';
const MODEL = AI_CATEGORIZATION_MODEL; const MODEL = AI_CATEGORIZATION_MODEL;
export type CategorySuggestion = { export type CategorySuggestion = {