<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <!-- Scheduled action: re-index vectors daily -->
    <record id="ir_cron_vector_reindex" model="ir.cron">
        <field name="name">EnCoach: Vector Re-Index</field>
        <field name="model_id" ref="model_encoach_embedding"/>
        <field name="state">code</field>
        <field name="code">model.cron_reindex()</field>
        <field name="interval_number">1</field>
        <field name="interval_type">days</field>
        <field name="active">True</field>
    </record>
</odoo>
