Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error extracting text path [bug] #47

Open
xuxinghang123 opened this issue Dec 4, 2024 · 0 comments
Open

Error extracting text path [bug] #47

xuxinghang123 opened this issue Dec 4, 2024 · 0 comments

Comments

@xuxinghang123
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant