Avatar

patrickjm

Resident
12 public vals
Joined January 12, 2023
patrickjm avatar
gpt3
@patrickjm
RPC
* OpenAI text completion. https://platform.openai.com/docs/api-reference/completions * * val.town has generously provided a free daily quota. Until the quota is met, no need to provide an API key. * To see if the quota has been met, you can run @patrickjm.openAiFreeQuotaExceeded() * * For full REST API access, see @patrickjm.openAiTextCompletion
patrickjm avatar
truncateString
@patrickjm
Script
An interactive, runnable TypeScript val by patrickjm
patrickjm avatar
getReplicatePrediction
@patrickjm
Script
Get the status or result of a prediction on replicate.com https://replicate.com/docs/reference/http#get-prediction
patrickjm avatar
openAiModeration
@patrickjm
Script
* Calls the OpenAI moderation model. Useful for determining if OpenAI will flag something you did. * https://platform.openai.com/docs/api-reference/moderations
patrickjm avatar
openAiFreeQuotaExceeded
@patrickjm
HTTP
An interactive, runnable TypeScript val by patrickjm
patrickjm avatar
openAiFreeUsage
@patrickjm
Script
// set at Sat Dec 09 2023 01:45:57 GMT+0000 (Coordinated Universal Time)
patrickjm avatar
aiSarcasticMotivationalMessage
@patrickjm
Script
An interactive, runnable TypeScript val by patrickjm
patrickjm avatar
weatherTomorrowGpt3Example
@patrickjm
Script
An interactive, runnable TypeScript val by patrickjm
patrickjm avatar
weatherTomorrowGpt3
@patrickjm
Script
An interactive, runnable TypeScript val by patrickjm
patrickjm avatar
simpleWeather
@patrickjm
Script
An interactive, runnable TypeScript val by patrickjm
patrickjm avatar
gpt3Example
@patrickjm
Script
An interactive, runnable TypeScript val by patrickjm
patrickjm avatar
openAiTextCompletion
@patrickjm
Script
An interactive, runnable TypeScript val by patrickjm
Next