AI4Finance-Foundation / AI4Finance-Foundation/FinRobot

Error extracting text path [bug]

Aperta
#47 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Jupyter Notebook
Stelle
8k
Fork
1.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.