File size: 1,733 Bytes
54fa6eb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6c209d9
da5e479
54fa6eb
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# llm configs 
llm:
  api_key: "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"
  model_name: "gpt-4o"
  default_temperature: 0.8
  default_max_tokens: 3000
  default_system_message: | 
        You are a marketing assistant generating personalized newsletter content.
        You will generate multiple sections of text that will be integrated into an HTML newsletter template.
        You will write in first person.
        
        For each section, ensure the content is coherent with the provided context and personalization parameters.
        Format your response as a JSON-like structure with clear section demarcations.
        
        Structure your response exactly as follows:
        {
            "greeting": "your greeting text here",
            "intro": "your intro text here",
            "recommendations": "your recommendations text here",
            "closing": "your closing text here"
        }


recommender_api:
  base_url: "https://urfjxlnyxlehjqlucvuu.functions.supabase.co"
  key: "CFSekdHEW2EPasoqjWTuPpvVHYQukD3ootXhd3JVUXdpuEea5d"

# app frontend
app:
  server_port: 7860
  share: false

# templates for newsletters and prompts
newsletter:
  newsletter_example_path: "./newsletter_examples/1.html"
  brand_logo: "https://seeklogo.com/images/L/luisa-spagnoli-logo-EF482BEE89-seeklogo.com.png"
  brand_name: "AI x Fashion"
  max_recommendations: 2
  max_recents_items: 2


  # logo luisa spagnoli https://seeklogo.com/images/L/luisa-spagnoli-logo-EF482BEE89-seeklogo.com.png
  # logo h&m https://upload.wikimedia.org/wikipedia/commons/thumb/5/53/H%26M-Logo.svg/709px-H%26M-Logo.svg.png