October 25, 2023 at 11:06 PM
💬 chat-cli can now read from stdin. In this example I am using the linux pipe command "|" to read in the contents of Amazon's 1997 Letter to Shareholders and then adding a prompt to summarize the doc before streaming the response back to the terminal.
Neat!
#go #golang #bedrock #amazon #aws #genai
♥ 0↑ 0↩ 0
View on Mastodon →