mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-19 05:06:56 +02:00
feat: implement AI analysis engine for generating retail product recommendation prompts.
This commit is contained in:
1 parent
2d3a90d6c7
commit
38e8fc1eac
4 files changed
+166
-86
No files matched your search
@@ -5,8 +5,9 @@ import { persist } from "zustand/middleware";
|
||||
import { DEFAULT_SCORE_SETTINGS, type ScoreSettings } from "@/lib/score-engine";
|
||||
|
||||
interface ScoreSettingsState extends ScoreSettings {
|
||||
setSeuilAxeFort: (v: number) => void;
|
||||
setBonusParAxe: (v: number) => void;
|
||||
setWeightCA: (v: number) => void;
|
||||
setWeightVolume: (v: number) => void;
|
||||
setWeightMarge: (v: number) => void;
|
||||
resetDefaults: () => void;
|
||||
}
|
||||
|
||||
@@ -15,8 +16,9 @@ export const useScoreSettingsStore = create<ScoreSettingsState>()(
|
||||
(set) => ({
|
||||
...DEFAULT_SCORE_SETTINGS,
|
||||
|
||||
setSeuilAxeFort: (v) => set({ seuilAxeFort: v }),
|
||||
setBonusParAxe: (v) => set({ bonusParAxe: v }),
|
||||
setWeightCA: (v) => set({ weightCA: v }),
|
||||
setWeightVolume: (v) => set({ weightVolume: v }),
|
||||
setWeightMarge: (v) => set({ weightMarge: v }),
|
||||
resetDefaults: () => set({ ...DEFAULT_SCORE_SETTINGS }),
|
||||
}),
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user