zinit load Nasubikun/zsh-bedrock
antigen bundle Nasubikun/zsh-bedrock@main
[plugins.ni]
github = "Nasubikun/zsh-bedrock"
curl https://raw.githubusercontent.com/Nasubikun/zsh-bedrock/main/zsh-bedrock.zsh > zsh-bedrock.zsh
source zsh-bedrock.zsh
Install AWS CLI 2.13.x+ can use aws bedrock-runtime
❯ brk What does 'bedrock' mean?
Bedrock refers to the solid rock layer underneath surface materials like soil and sediment. Some key things to know about bedrock:
- It is the hardest, most solid layer of rock in the crust of the Earth. It is usually made up of igneous, metamorphic or sedimentary rock.
- Bedrock generally cannot be excavated by hand-held tools and requires explosives or heavy machinery to remove. This makes it an ideal foundation to build on.
- The depth at which bedrock is found varies greatly by location. In some areas it may be exposed at the surface, while in others it can be hundreds of feet deep.
- Major types of bedrock include granite, basalt, sandstone, shale and limestone. The type found in an area depends on the geological forces that formed it.
- Groundwater, oil and natural gas are often found trapped in bedrock layers beneath the surface. Fractures and pores in the bedrock act as reservoirs for these resources.
- Bedrock geology provides clues about the history and formation of the land in a region. Studying it helps geologists reconstruct past geological events.
So in summary, bedrock refers to the hard, solid rock layer under the loose surface materials that serves as the foundation for buildings, bridges and other structures. Knowing the depth and type of bedrock is important for construction, resource extraction and geology.
---
❯ brk -t 日本一高い山は富士山です。
The highest mountain in Japan is Mount Fuji.
-
brk
Use this command to interact with Bedrock. Followed by the prompt like:brk Hello, nice to meet you.
-
brk -t
Use this command if you want Bedrock to do the translation for you. You can use like:brk -t What's the highest mountain in the world?
-
brk -c
You can update config with this command. Currently, the following properties are available:
Key | Description | Type | Default |
---|---|---|---|
AWS_REGION | AWS region | string | NA |
MODEL_ID | Model ID | string | anthropic.claude-v2 |
ENDPOINT_URL | Endpoint URL | string | NA |
LANGS | Languages | string[] | ["English", "Japanese"] |
You can use this command like: brk -c AWS_REGION us-west-2.