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

Can pass prompt in text #34

Open
liuzhenghua opened this issue Oct 8, 2023 · 3 comments
Open

Can pass prompt in text #34

liuzhenghua opened this issue Oct 8, 2023 · 3 comments
Labels
question Further information is requested

Comments

@liuzhenghua
Copy link

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?

@macky3099
Copy link
Collaborator

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 macky3099 added the question Further information is requested label Oct 9, 2023
@liuzhenghua
Copy link
Author

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.

@macky3099
Copy link
Collaborator

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

Thanks!

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

No branches or pull requests

2 participants