About Confilox

OptiKonf FlexCo

The Confilox platform is based on Symbolic Reasoning, which means its results always stay provably correct in relation to the logic put into it.

EXAMPLE CONFIGURATOR

PC Konfigurator

In this example you configure a PC from a list of components. A fully configured PC is generated in each step and displayed on the right-hand side of the interface. At no point in time all configurations are generated exhaustively, instead the Confilox platform is generating fitting configurations on the fly based on the rules. No tree or similar structures needed!

Frequently Asked Questions to our Demos

Where is the Buy button?

This is an example configurator. The Confilox platform provides configurators and hands the final configuration to the shop software, after the user is done. Confilox may also be integrated via its API.

What rules are behind the PC configurator?

The source code of the PC configurator is below:

from ok import choice

class PC:
    def cpu_intel(self):
        self.cpu = choice("intel-3", "intel-5", "intel-7")
        self.pcie_lanes = "16"

        if self.cpu == "intel-3":
            self.psu = choice("low", "medium")
            self.memory_slots = "2"
            self.gpu = "integrated"
            self.price += 10
        elif self.cpu == "intel-5":
            self.gpu = "dedicated"
            self.psu = choice("medium", "high")
            self.memory_slots = choice("2", "4")
            self.price += 20
        elif self.cpu == "intel-7":
            self.gpu = "dedicated"
            self.psu = "high"
            self.memory_slots = "4"
            self.pcie_lanes = "22"
            self.price += 30

    def cpu_amd(self):
        self.cpu = choice("ai", "ai-360")
        self.pcie_lanes = "18"
        self.memory_slots = "4"
        self.gpu = "integrated"

        if self.cpu == "ai":
            self.psu = choice("low", "medium", "high")
            self.price += 25
        elif self.cpu == "ai-360":
            self.psu = "high"
            self.pcie_lanes = "20"
            self.price += 35

    def memory(self):
        if self.memory_slots == "2":
            self.ram = choice("8 GB", "16 GB")
            if self.ram == "8 GB":
                self.price += 10
            elif self.ram == "16 GB":
                self.price += 20
        elif self.memory_slots == "4":
            self.ram = choice("32 GB", "64 GB")
            if self.ram == "32 GB":
                self.price += 25
            elif self.ram == "64 GB":
                self.price += 45

    def gpu(self):
        # This will improve greatly once integer support lands.
        if self.gpu == "integrated":
            if self.pcie_lanes == "20" or self.pcie_lanes == "22":
                self.gpu = choice("rtx5070", "rtx5080", "rtx5090", "integrated")
            else:
                self.gpu = choice("rtx5070", "integrated")
        else:
            if self.pcie_lanes == "20" or self.pcie_lanes == "22":
                self.gpu = choice("rtx5070", "rtx5080", "rtx5090")
            else:
                self.gpu = "rtx5070"

        if self.gpu == "rtx5080":
            assert self.psu == "medium" or self.psu == "high"
            self.price += 16
        elif self.gpu == "rtx5090":
            assert self.psu == "high"
            self.price += 32
        elif self.gpu == "rtx5070":
            assert self.psu == "low" or self.psu == "medium" or self.psu == "high"
            self.price += 8
            
    def psu(self):
        if self.psu == "low":
            self.price += 5
        elif self.psu == "medium":
            self.price += 10
        elif self.psu == "high":
            self.price += 15

    def configure(self):
        self.price = 0
        self.cpu_brand = choice("intel", "amd")

        if self.cpu_brand == "intel":
            self.cpu_intel()
        elif self.cpu_brand == "amd":
            self.cpu_amd()

        self.memory()

        self.gpu()
        
        self.psu()
        
        assert self.price < 150
        
        knob(price)
        knob(psu, "Power Supply")
        knob(cpu_brand, "CPU Brand")
        knob(cpu, "Processor")
        knob(gpu, "GPU")
        knob(ram, "RAM")

this page will be expanded with video demonstrations shortly