Scope knowledge and image libraries by brand
This commit is contained in:
@@ -376,6 +376,7 @@ func (s *PromptRuleGenerationService) ProcessQueuedTask(ctx context.Context, tas
|
||||
knowledgeContext, err := s.knowledge.ResolveContext(
|
||||
ctx,
|
||||
task.TenantID,
|
||||
int64(extractInt(inputParams, "brand_id")),
|
||||
knowledgeGroupIDs,
|
||||
buildPromptRuleKnowledgeQuery(rule, inputParams),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user