Skip to content

Instantly share code, notes, and snippets.

rolf@ ~/test/bundlestructure $ dotnet new macos
The template "macOS Application" was created successfully.
rolf@ ~/test/bundlestructure $ dotnet build
MSBuild version 17.4.0+18d5aef85 for .NET
Determining projects to restore...
Restored /Users/rolf/test/bundlestructure/bundlestructure.csproj (in 119 ms).
Detected signing identity:
$ curl https://api.openai.com/v1/completions -H "Content-Type: application/json" -H "Authorization: Bearer $API_KEY" -d '{"model": "text-davinci-003", "prompt": "Is this an inclusive code review comment: this is very good code!", "temperature": 0, "max_tokens": 70}'
{
"id": "cmpl-6dKMNKwvoYSF8SLD5Y2HSDakDZgqz",
"object": "text_completion",
"created": 1674831075,
"model": "text-davinci-003",
"choices":
[
{