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
There is on specific function I am missing at the moment which is to feed the conversation with multiple files. I think passing file by file or each file after each other is the way to go here. So awaiting the asynchronous calls call by call in a loop.
Let's assume the user got the following file structure in example:
main.cpp
network/
├─ wifi.h
├─ wifi.cpp
├─ ntp.h
The user would mark all the files, right click and the context menu opens and the user selects "Add files to conversation". Therefore we could provide:
A tree like structure like above and instructions how to proceed with the incoming conversation details
Tell the AI to just answer with some predefined answer like e.g. "Ok" or even to "Comment it in two sentences" (could be modified of course)
Then pass file by file with a filename
So this would look like this:
User: "Here is some context for the next questions. At first have a look at the following file structure:
main.cpp
network/
├─ wifi.h
├─ wifi.cpp
├─ ntp.h
In the next steps I will show you the file name and content. For every file just answer with 'Ok' till I tell you to do differently."
Bot: "Ok"
User: "main.cpp: ..."
Bot: "Ok"
User: "network/wifi.h: ..."
Bot: "Ok"
User: "network/wifi.cpp: ..."
Bot: "Ok"
User: "network/ntp.h: ..."
Bot: "Ok"
User: "That's it. Just tell me if you understood or didn't in a sentence."
The text was updated successfully, but these errors were encountered:
sreimchen
changed the title
Feeding with files/directories in addition to the contextual functions
Feeding with files/directories in addition to the other functions
Feb 24, 2023
You're right that ChaptGPT is limited in that sense but this doesn't mean that this isn't a useful feature in my opinion because ChatGPT's answers are quite more accurate if you share any context. As a user you can control the amount of context and sharing a single (and even 2 or 3) file(s) can be handled without a problem in my experience. Even if nobody can say what the future brings I think the amount of possible amount of context will be generally increasing. So it makes sense to realize this feature in my opinion.
Great extension, thanks a lot for your work!
There is on specific function I am missing at the moment which is to feed the conversation with multiple files. I think passing file by file or each file after each other is the way to go here. So awaiting the asynchronous calls call by call in a loop.
Let's assume the user got the following file structure in example:
main.cpp
network/
├─ wifi.h
├─ wifi.cpp
├─ ntp.h
The user would mark all the files, right click and the context menu opens and the user selects "Add files to conversation". Therefore we could provide:
So this would look like this:
User: "Here is some context for the next questions. At first have a look at the following file structure:
main.cpp
network/
├─ wifi.h
├─ wifi.cpp
├─ ntp.h
In the next steps I will show you the file name and content. For every file just answer with 'Ok' till I tell you to do differently."
Bot: "Ok"
User: "main.cpp: ..."
Bot: "Ok"
User: "network/wifi.h: ..."
Bot: "Ok"
User: "network/wifi.cpp: ..."
Bot: "Ok"
User: "network/ntp.h: ..."
Bot: "Ok"
User: "That's it. Just tell me if you understood or didn't in a sentence."
The text was updated successfully, but these errors were encountered: