Improve AI description generation to handle different content types
Update the AI service to allow specifying content type (e.g., 'oddaja' for shows) and adjust prompts accordingly to generate more relevant descriptions for various media formats. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1/n7jzC7R
This commit is contained in:
+2
-1
@@ -1108,7 +1108,8 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
language: "german",
|
||||
includeArtistInfo,
|
||||
includeLabelInfo,
|
||||
customInstructions
|
||||
customInstructions,
|
||||
contentType: video.contentType || 'music_video'
|
||||
});
|
||||
|
||||
console.log("Generated description:", description); // Debug log
|
||||
|
||||
Reference in New Issue
Block a user