chore: Update README.md
a27bec27
1 file(s) · +7 −1
| 150 | 150 | ||
| 151 | 151 | ### AI Shell |
|
| 152 | 152 | ||
| 153 | - | Through [AIChat](https://github.com/sigoden/aichat) you can have a great AI experience in your terminal. Start by running the command `ai` which will create a config and ask for your preferred and API key if applicable. If you want to use a local model with a tool like `ollama` use the `openai-compatible` option and use `http://localhost:11434/v1` as the base URL with no API key. |
|
| 153 | + | Through [AIChat](https://github.com/sigoden/aichat) you can have a great AI experience in your terminal. Start by running the command `ai` which will create a config and ask for your preferred provider and API key if applicable. If you want to use a local model with a tool like `ollama` use the `openai-compatible` option and use `http://localhost:11434/v1` as the base URL with no API key. |
|
| 154 | 154 | ||
| 155 | 155 |  |
|
| 156 | 156 | ||
| 174 | 174 | ||
| 175 | 175 | ```bash |
|
| 176 | 176 | ai -c React useEffect hook usage |
|
| 177 | + | ``` |
|
| 178 | + | ||
| 179 | + | Feed it a file as context |
|
| 180 | + | ||
| 181 | + | ```bash |
|
| 182 | + | ai -f src/index.ts explain this code |
|
| 177 | 183 | ``` |
|
| 178 | 184 | ||
| 179 | 185 | AIChat has a lot more capabilities we can't cover here, so by all means [check out the docs](https://github.com/sigoden/aichat/wiki/Chat-REPL-Guide) for more info! |
|