Avatar

patrickjm

Resident
Joined January 12, 2023
Public vals
12
patrickjm avatar
patrickjm
truncateString
Script
An interactive, runnable TypeScript val by patrickjm
0
patrickjm avatar
patrickjm
getReplicatePrediction
Script
Get the status or result of a prediction on replicate.com https://replicate.com/docs/reference/http#get-prediction
0
patrickjm avatar
patrickjm
openAiModeration
Script
* Calls the OpenAI moderation model. Useful for determining if OpenAI will flag something you did. * https://platform.openai.com/docs/api-reference/moderations
0
patrickjm avatar
patrickjm
openAiFreeQuotaExceeded
HTTP
An interactive, runnable TypeScript val by patrickjm
0
patrickjm avatar
patrickjm
openAiFreeUsage
Script
// set at Sat Dec 09 2023 01:45:57 GMT+0000 (Coordinated Universal Time)
0
patrickjm avatar
patrickjm
aiSarcasticMotivationalMessage
Script
An interactive, runnable TypeScript val by patrickjm
0
patrickjm avatar
patrickjm
weatherTomorrowGpt3Example
Script
An interactive, runnable TypeScript val by patrickjm
0
patrickjm avatar
patrickjm
weatherTomorrowGpt3
Script
An interactive, runnable TypeScript val by patrickjm
0
patrickjm avatar
patrickjm
simpleWeather
Script
An interactive, runnable TypeScript val by patrickjm
0
patrickjm avatar
patrickjm
gpt3Example
Script
An interactive, runnable TypeScript val by patrickjm
0
patrickjm avatar
patrickjm
gpt3
RPC (deprecated)
* 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
2
patrickjm avatar
patrickjm
openAiTextCompletion
Script
An interactive, runnable TypeScript val by patrickjm
0
Next