"Sunbelt Specific LLM calls"

import os

from pptx.dml.color import RGBColor
from pptx.util import Inches

from services.ppt_generator.configs.standard_configs import (DefaultSettings,
                                                             SlideWorkArea)

CIM_structure = """
    You should include the following slides. If you think more slides are required, add them:
    - Company Overview
    - Competitive Advantage
    - Competitors
    - Growth Opportunities
    - Products and Services - If more an than product segment, break out into a product overview slide and product specific slides
    - Clients or Customers
    - Suppliers
    - Facility and Location
    - Operations Overview - Breakdown the operations of the company including any software used, manufacturing processes, etc.
    - Ownership and Corporate Structure
    - Management Organization and Team
    - Assets - Breakdown the assets of the company including any real estate, equipment, etc.
    - Industry Overview - Can be more than one slide, if needed split into many slides with a high level driving market overview and a more specific industry overview
    - Profit and Loss Statement
    - Balance Sheet
"""
# Convert file paths to Linux compatible paths
file_dir = os.path.dirname(os.path.abspath(__file__))
ppt_template = os.path.join(file_dir, "ppt_templates", "ppt_template.pptx")
layout_choices = os.path.join(
    file_dir,
    "services",
    "ppt_generator",
    "layouts",
    "ExitEdge",
    "content_slide_layout_choices_v4.txt",
)


class ExitEdgeConfig:
    "ExitEdge config"
    client: str = "ExitEdge"
    ppt_template: str = ppt_template
    chroma_db = "ExitEdge"
    # layout_file = "ExitEdge"
    layout_choices = layout_choices
    slide_work_area: SlideWorkArea = SlideWorkArea(
        top=Inches(1.35), left=Inches(0.17), width=Inches(13.01), height=Inches(5.74)
    )
    default_settings: DefaultSettings = DefaultSettings(
        font="Calibri.ttf",
        font_size=16,
        font_color=RGBColor(0, 0, 0),
        light_font_color=RGBColor(255, 255, 255),
    )
    structure_recommendation = {"CIM": CIM_structure}
    client_type: str = "broker"
