Implement model (and some factor) coder with evolving (#52)

* store code into FBImplementation

* fix path related bugs

* fix a bug

* fix factor related small bugs

* re-submit all model related code

* new code to model coder

* finish the model evolving code

---------

Co-authored-by: xuyang1 <xuyang1@microsoft.com>
This commit is contained in:
Xu Yang
2024-07-10 15:45:43 +08:00
committed by GitHub
parent 828a624238
commit 720994c8e0
23 changed files with 1230 additions and 284 deletions
@@ -28,7 +28,7 @@ def extract_model_from_doc(doc_content: str) -> dict:
Returns
-------
dict
{factor_name: dict{description, formulation, variables}}
{model_name: dict{description, formulation, variables}}
"""
session = APIBackend().build_chat_session(
session_system_prompt=document_process_prompts["extract_model_formulation_system"],