You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: