fix: update version tags to v28 and temporarily disable cache for predictions
This commit is contained in:
@@ -78,7 +78,7 @@ export class AiService {
|
||||
}
|
||||
|
||||
this.logger.log(
|
||||
`Calling Python V25 Engine for ${matchDetails.homeTeam} vs ${matchDetails.awayTeam}`,
|
||||
`Calling Python V28 Pro Max Engine for ${matchDetails.homeTeam} vs ${matchDetails.awayTeam}`,
|
||||
);
|
||||
|
||||
const response = await this.aiEngineClient.post(
|
||||
@@ -150,7 +150,7 @@ export class AiService {
|
||||
homeAnalysis: undefined,
|
||||
awayAnalysis: undefined,
|
||||
expertComment: data.ai_commentary || data.expert_comment || "",
|
||||
modelVersion: data.model_version || "v25.main",
|
||||
modelVersion: "v28-pro-max",
|
||||
confidenceScore:
|
||||
confidenceScore > 1 ? confidenceScore : confidenceScore * 100,
|
||||
expectedGoals: data?.score_prediction?.xg_total,
|
||||
@@ -192,10 +192,10 @@ export class AiService {
|
||||
scorePrediction: pyData.score_prediction?.ft || "-",
|
||||
confidenceScore:
|
||||
typeof firstPick?.confidence === "number" ? firstPick.confidence : 0,
|
||||
modelVersion: pyData.model_version || "v25.main",
|
||||
modelVersion: "v28-pro-max",
|
||||
expectedGoals: pyData.score_prediction?.xg_total || 0,
|
||||
keyInsights: [
|
||||
`Model: ${pyData.model_version || "v25.main"}`,
|
||||
`Model: v28-pro-max`,
|
||||
`Risk: ${pyData.risk?.level || "N/A"} (${pyData.risk?.score ?? 0})`,
|
||||
`Data Quality: ${pyData.data_quality?.label || "N/A"}`,
|
||||
`xG Beklentisi: ${
|
||||
@@ -324,7 +324,7 @@ export class AiService {
|
||||
winnerPrediction: "N/A",
|
||||
scorePrediction: "-",
|
||||
confidenceScore: 0,
|
||||
modelVersion: "v25.main",
|
||||
modelVersion: "v28-pro-max",
|
||||
expectedGoals: 0,
|
||||
keyInsights: [],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user