feat(prompts): update assistant descriptions and add intent-specific templates
- Updated the assistant descriptions in various prompt templates to specify that they are developed by Tencent. - Added new intent-specific system prompt templates for greeting, chitchat, follow-up, image analysis, summarization, and web search unavailability scenarios. - Enhanced citation rules in the system prompts to ensure proper inline citation formatting. - Refactored the rewrite prompt to classify user intent more accurately and output structured JSON responses.
This commit is contained in:
@@ -126,7 +126,6 @@ func (s *modelService) GetModelByID(ctx context.Context, id string) (*types.Mode
|
||||
|
||||
// Check model status
|
||||
if model.Status == types.ModelStatusActive {
|
||||
logger.Info(ctx, "Model is active and ready to use")
|
||||
return model, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user