AI4Finance-Foundation / AI4Finance-Foundation/FinRobot
Error extracting text path [bug]
- Dominant language
- Jupyter Notebook
- Stars
- 8k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
Hello dear author
I have a very weird problem when trying to extract the path at one of the steps in the execution
def instruction_message(recipient, messages, sender, config):
# Extract the path to the instruction text file from the last message
full_order = recipient.chat_messages_for_summary(sender)[-1][“content”].
txt_path = full_order.replace(“instruction & resources saved to ‘, ’”).strip()
with open(txt_path, “r”) as f:
instruction = f.read() + “Reply TERMINATE at the end of your reply”.
Returning the instruction
In this method of utils.py txt_path assigns a wrong path... /report/msft_income_statement.txt\n\n... /report/msft_segment_analysis.txt'
I don't know exactly how this step is executed, if you see it please help to explain thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.