Isaac behaves like any other CLI tool, passing arguments and executing a function.
NAME:
Isaac - CLI that can help you on various tasks
USAGE:
Isaac command [command options]
COMMANDS:
init, i Initialize Isaac
document, d Get text out of a document, file or an image
image, img Make an image with a prompt
chat, c Chat with Isaac
prompt, p Make a simple prompt, prompt should be enclosed in quotes
help, h Shows a list of commands or help for one command
For example for text generation
isaac p "What is the command for looking at the running process in linux"
In Linux, you can use the `top` command to interactively view the running processes on your system. The `top` command provides real-time updates on the running processes, including their CPU usage, memory usage, and process ID. You can also use the `ps` command with the `aux` option to display detailed information about all running processes, including their command line arguments and process IDs.
PDF and image analysis
isaac document mycv.pdf
------------------------------------------
Text from file: mycv.pdf
------------------------------------------
...My awesome cv contents...
------------------------------------------
Summary:
------------------------------------------
The text provides information about the professional background of Gerardo Lopez, a mechanics engineer with a strong skill set in computer science, robotics, and IT software. Gerardo Lopez has been involved in various projects throughout his career, including industrial automation, mobile robotics, Linux automation, servers manufacturing, automation of software tests, and DevOps tools and culture.
------------------------------------------
Chat mode can be invoked with command
isaac chat
This will open up a pseudo-shell in which users can have access to aws bedrock and directly ask questions. Chat mode has several special commands:
command: how to list used ports in linux
image.png will be created in the current working directory.
image: make a programmer in front of a computer
file:script.sh make a simple summary of what this script does
files need to be in the directory where isaac has been executed.document:linkedin.png Tell me if this person is a good fit for a mechanic engineer
prompts.jsonl.As well as input prompts and getting answers in chat mode.
@Isaac → how to make a hello world in rust
To write a "Hello, World!" program in Rust, you can use the`println!`macro from the`std::fmt`module. Here's a simple program:
```
fn main() {
println!("Hello, world!");
}
```
This program defines a function called`main`, which is the entry point of the program. The`println!`macro is used to print the string "Hello, world!" to the console. This program can be compiled and run using the`rustc`command-line tool:
```
$ rustc hello.rs
$ ./hello
Hello, world!
```
Alternatively, you can use the`cargo`command-line tool to create a new project, add the code above, and then run the program:
```
$ cargo new hello_world
$ cd hello_world
$ touch src/main.rs
$ echo 'fn main() { println!("Hello, world!"); }' > src/main.
```