Skip to content

Instantly share code, notes, and snippets.

@yairhaimo
yairhaimo / index.ts
Created March 2, 2023 10:00
Summarize an Audio Clip
import { supabaseUpload } from '@aigur/supabase';
import { createClient, gpt3Prediction, stringToArrayBuffer, whisperApi } from '@aigur/client';
const aigur = createClient({
apiKeys: {
openai: process.env.OPENAI_KEY,
whisperapi: process.env.WHISPER_API,
}
});
@yairhaimo
yairhaimo / index.ts
Created March 2, 2023 09:56
Summarize an Audio Clip
import { supabaseUpload } from '@aigur/supabase';
import { createClient, gpt3Prediction, stringToArrayBuffer, whisperApi } from '@aigur/client';
const aigur = createClient({
apiKeys: {
openai: process.env.OPENAI_KEY,
whisperapi: process.env.WHISPER_API,
}
});
@yairhaimo
yairhaimo / index.ts
Created March 2, 2023 06:21
Summarize an audio
import { supabaseUpload } from '@aigur/supabase';
import { createClient, gpt3TurboPrediction, stringToArrayBuffer, whisperApi } from '@aigur/client';
const aigur = createClient({
apiKeys: {
openai: process.env.OPENAI_KEY,
whisperapi: process.env.WHISPER_API,
}
});
@yairhaimo
yairhaimo / index.md
Last active February 3, 2023 18:59
Typed builder

To whom it may concern, thanks in advance!

It's a bit of a read but there's only one question :)


Im creating a builder class that can create nodes:

builder.createNode1().createNode2().createNode3().createNode4().getNodes();
import {map} from 'lodash';
alert('lala')