File size: 899 Bytes
20ab5a9 | 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 | """FinIR-Intent: the Hugging Face natural-language layer for the FinIR project.
This package *interprets* natural-language financial instructions into the
canonical FinIR Intent Contract (schema version 1.0) defined by the core ``finir``
package (``finir.intent``). It performs no financial computation itself -- that is
the FinIR runtime's job, reached via ``finir.intent.execute_intent`` /
``FinancialModel.apply_intent``.
from finir_intent import compile_intent
from finir.intent import FinIRIntent
envelope = compile_intent("Increase COGS by 4%")
intent = FinIRIntent.from_obj(envelope) # structural validation (core package)
"""
from __future__ import annotations
from .baseline import BaselineIntentCompiler, compile_intent
from .reference_model import build_reference_model
__all__ = [
"BaselineIntentCompiler",
"build_reference_model",
"compile_intent",
]
|