I

I built a simple CLI helper integrating with GPT-3

Hacker News

I built a simple CLI helper integrating with GPT-3

Hi all! I don’t think CHATGPT has gone unnoticed by anyone here on Hackernews. I’ve myself played around a bit with it, but felt it was annoying to always have to log into their GUI to ask the questions. To scratch my own itch and at the same time learn more about how to write my own command line interface, I created 'askai'. 'askai' is a simple CLI integration with OpenAI’s GPT3 models. I’ve primarily used it to get quick answers to technical questions, like: > askai "How to mock user input when writing a Python pytest test?" > askai "How do I remove a conda environment?" As I've found it quite helpful, I decided to spend some time to package it in a nicer way to share it with all of you. I've also uploaded it to PyPI to simplify the installation process. 'askai' enables you to: * Ask questions and get the answers straight into your terminal * Configure which model and model parameters you want to use * Overwrite saved configurations when you ask questions Currently, it only supports OpenAI’s models, but my plan is to integrate more endpoints as soon as new capable NLP endpoints are popping up. I hope some of you find it useful :)

Share card

Actual performance

25points
6comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: model, user, new · Missing: mac, agents, macos
96%96% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: supports, created, para · Missing: reddit linkedin, podcasting, latex
84%84% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRFits verified-revenue profile · Strong signals: answers, way, para · Missing: mobile apps, ios, personal
52%52% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoStrong fit for a featured deal · Strong signals: interface, soon · Missing: plus, platform, intuitive
51%51% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
44%44% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
12%12% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Strong signals: chat · Missing: web3, crypto, cryptocurrency
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Incorrect prediction on native model

Similar products

T,
T, The simple tmux helper50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

T, The simple tmux helper

Hacker News2
Mo
Moto – A GPT car inspection helper34%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Moto – A GPT car inspection helper

Hacker News1
Pa
Paradux – A Redux Helper for Dynamically Adding Reducers32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Paradux – A Redux Helper for Dynamically Adding Reducers

Hacker News1
Ma
MapKitJS helper25%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MapKitJS helper

Hacker News3
Ki
Kinesis Advantage2 Remapping Helper25%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Kinesis Advantage2 Remapping Helper

Hacker News4
ne
next-mongooseless – nextjs severless mongoose helper functions21%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

next-mongooseless – nextjs severless mongoose helper functions

Hacker News1
sm
smarturls for Django (regular expression helper)40%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

smarturls for Django (regular expression helper)

Hacker News2
Pa
Pagination helper for Handlebars25%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Pagination helper for Handlebars

Hacker News1
Pr
Prime – A simple CLI for Pastebin48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Prime – A simple CLI for Pastebin

Hacker News2
I
I built a helper script for AUTOMATIC1111 / stable-diffusion-webui32%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I built a helper script for AUTOMATIC1111 / stable-diffusion-webui

Hacker News3