CLI icon indicating copy to clipboard operation
CLI copied to clipboard

Can pass prompt in text

Open liuzhenghua opened this issue 1 year ago • 3 comments

Hi, I found the way provided in doc that using bito in text mode is

echo "give me code for bubble sort in python" | bito

if I need prompt I should provide a file and using the command:

echo "give me code for bubble sort in python" | bito -p myPrompt.txt

Is there anyway that I can pass the prompt in the command ? or can I add the prompt just before the chat message?

liuzhenghua avatar Oct 08 '23 03:10 liuzhenghua

Hello @liuzhenghua,

If I understood correctly then you wish to pass prompt directly to bito without using a prompt.txt file? Something like: echo "give me code for bubble sort in python" | bito -p "your-prompt-message-here"

Is that what you are looking for?

Thanks!

macky3099 avatar Oct 09 '23 10:10 macky3099

Hello @liuzhenghua,

If I understood correctly then you wish to pass prompt directly to bito without using a prompt.txt file? Something like: echo "give me code for bubble sort in python" | bito -p "your-prompt-message-here"

Is that what you are looking for?

Thanks!

Yes, It's much help for me If can using prompt in that way.

liuzhenghua avatar Oct 10 '23 01:10 liuzhenghua

@liuzhenghua we will explore possible solutions around it and get back to you with updates.

Thanks!

macky3099 avatar Oct 10 '23 08:10 macky3099