llm "Hello"
Git reset branch
llm 'In Git, how do I reset a branch `exp` to `main` without checking it out?'
Curl headers
llm 'Given `curl https://hotseatai.com`. How can I print the http headers and only them?'
llm -m 4 "Given:
$(cmdmd db_schema)
Write a SQL query that counts questions that have result count different than 0, 1, or 4."
# optionally: | glow
llm -c "Thanks. Now can you write the same query but using Django ORM?
Take a look at: $(fzf | xargs cat)"
Integrate helicone by:
- Define
HELICONE_API_KEY
- Install
helicone
package - Replace
import openai
withhelicone.openai_proxy import openai
- Profit