![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@dstanesc/gpt
Advanced tools
Simple unix style utility adding gpt model interaction to the command line
Simple unix style utility adding gpt model interaction to the command line.
npm run clean
npm install
npm run build
From source
npm install -g .
From npm
npm install -g @dstanesc/gpt
$ gpt --help
Usage: gpt [options] 'user prompt'
Options:
-f, --file: input file name, appends file content to user prompt
-p, --prepend: prepend text to piped input
-a, --append: append text to piped input
-m, --model: model name, e.g. mistral-7b-instruct-v0.1.Q4_0.gguf
-d, --device: device type, e.g. cpu, gpu
-t, --temperature: temperature, e.g. 0.7
-c, --context-length: context length, e.g. 2048
-r, --thread-count: thread count, e.g. 24
-s, --system-prompt: system prompt, e.g. '### System: You are an experienced javascript developer'
-o, --topp: topp, e.g. 0.4
-i, --minp: minp, e.g. 0.0
-k, --topk: topk, e.g. 40
Examples:
gpt '1+1'
xsel -b | gpt --prepend 'Pretty print following json' | codedown json | tee pretty.json
echo 'create a javascript code fragment that prints first 10 fibonacci numbers' | gpt | codedown javascript | node
echo 'create a javascript code fragment that prints first 10 fibonacci numbers' | gpt --temperature 0.5 --thread-count 24 --model mistral-7b-instruct-v0.1.Q4_0.gguf | codedown javascript | node
echo 'write a python function that prints first 10 Fibonacci numbers' | gpt | codedown python | python3
echo 'create a html page that displays a plotlyjs based bar chart with the top 10 US cities by population' | gpt | codedown html | tee page.html
Model cache location is ${HOME}/.cache/gpt4all
. Models will be downloaded and cached on first time use. It is recommended to discover models using GPT4All model search feature.
Licensed under either Apache 2.0 or MIT at your option.
FAQs
Simple unix style utility adding gpt model interaction to the command line
The npm package @dstanesc/gpt receives a total of 0 weekly downloads. As such, @dstanesc/gpt popularity was classified as not popular.
We found that @dstanesc/gpt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.