Closed neokd closed 6 months ago
Can you please confirm if the load_conversations.py script is currently only retrieving a list of files in the directory?
I'm also confused about the arguments for --conversations
. Could you please clarify which arguments I should keep?
parser.add_argument(
'--conversations',
actions = 'store_true'
""" ... ""
help='Load conversation files into memory'
)
You need to create a param caled --conversations
in a file called conversation_navigator.py
in the utils folder. Whenever the user add the --conversations
flag you need to trigger the load_conversations
function. and display the existing history of chats if any. Allow user to select them
Certainly, here's a rephrased version:
Generate a file named
conversation_navigator.py
within theutils
directory.Craft a function named
load_conversations
within theconversation_navigator.py
file. This function is designed to scan and retrieve all files present in theconversations
directory.Incorporate a command-line flag,
--conversations
, to activate the function. The function exclusively executes when users include this flag, providing them with the capability to select and load specific chat files into the system's memory.