Comments (2)
Hi @billcxx, to achieve what you are looking for in Bito CLI you can make use of context.
By default Bito CLI keeps context of up to 20 requests in interactive mode (interactive mode means the one when you simply run "bito").
In non-interactive mode (which means when you run "bito -p -f" commands) you can make use of "-c" flag which will keep writing your context in a file and use it for your next request that you make.
Example: "bito -p prompt.txt -c context.txt"
(You can always edit the context size by editing the "max_context_entries" field set in your config file of Bito CLI. To access the config simply run "bito config -e").
Below are screenshots of few examples of how it can be done:
-
This screenshots shows how you can use context for one particular item:
-
This screenshot has a more generic prompt (x.txt file) which can be used anywhere:
-
This screenshot shows how you can use it in interactive mode as well:
Please let us know if you still face any issues. Thanks!
from cli.
Hi @billcxx, I am closing this issue for now. If you face any issues then please feel free to reopen it again. Thanks!
from cli.
Related Issues (20)
- Sorry, Bito is not reachable due to a network or server issue. Please try again HOT 1
- curl: (60) SSL certificate problem: HOT 2
- Bito CLI in interactive mode hangs forever HOT 5
- BitoCLI would not work on a brand new installation HOT 3
- BitoCLI: Ctrl-D is mapped to provide a date. Can you allow me to remap to Alt-X? HOT 1
- No hint indicating installation was successful in BitoCLI.msi HOT 3
- Feedback on Bito and CLI HOT 1
- Mushahid lehri HOT 2
- Left and right arrow keys support in cmd HOT 1
- getting only the code back from a local bito commandline API request HOT 4
- How to call bito in PHP to perform content interaction HOT 1
- Can pass prompt in text HOT 3
- The last code fragment not end in ``` HOT 10
- error HOT 3
- Where is the source code? HOT 1
- WIN MSI - Trojan HOT 2
- cli HOT 1
- The specified executable is not a valid application for this OS platform HOT 5
- Error: Slash commands are not available for this session due to an configuration issue. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.