Scope knowledge and image libraries by brand
This commit is contained in:
@@ -490,6 +490,7 @@ func (s *TemplateService) executeGeneration(ctx context.Context, job generationJ
|
||||
knowledgeContext, resolveErr := s.knowledge.ResolveContext(
|
||||
ctx,
|
||||
job.TenantID,
|
||||
int64(extractInt(job.Params, "brand_id")),
|
||||
knowledgeGroupIDs,
|
||||
buildGenerationKnowledgeQuery(job.TemplateKey, job.TemplateName, job.Params),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user