Search

Results include substring matches and semantically similar vals. Learn more
stevekrouse avatar
VALLErun
@stevekrouse
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
HTTP (deprecated)
import { verifyToken } from "https://esm.town/v/pomdtr/verifyToken";
import { anthropic } from "npm:@ai-sdk/anthropic";
import { openai } from "npm:@ai-sdk/openai";
} else {
vercelModel = anthropic(model);
// Anthropic doesn't support system messages not at the very start.
const systemRole = model.startsWith("gpt") ? "system" : "user";
maxTokens: 8192,
headers: { "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" },
const stream = await streamText({
jxnblk avatar
VALLErun
@jxnblk
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
HTTP (deprecated)
import { sleep } from "https://esm.town/v/stevekrouse/sleep?v=1";
import { anthropic } from "npm:@ai-sdk/anthropic";
import { openai } from "npm:@ai-sdk/openai";
} else {
vercelModel = anthropic(model);
// Anthropic doesn't support system messages not at the very start.
const systemRole = model.includes("gpt") ? "system" : "user";
maxTokens: 8192,
headers: { "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" },
let messages = [
tmcw avatar
VALLErun
@tmcw
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
HTTP (deprecated)
import { sleep } from "https://esm.town/v/stevekrouse/sleep?v=1";
import { anthropic } from "npm:@ai-sdk/anthropic";
import { openai } from "npm:@ai-sdk/openai";
} else {
vercelModel = anthropic(model);
// Anthropic doesn't support system messages not at the very start.
const systemRole = model.startsWith("gpt") ? "system" : "user";
maxTokens: 8192,
headers: { "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" },
let messages = [
stevekrouse avatar
blueOwl
@stevekrouse
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
HTTP (deprecated)
import { verifyToken } from "https://esm.town/v/pomdtr/verifyToken";
import { anthropic } from "npm:@ai-sdk/anthropic";
import { openai } from "npm:@ai-sdk/openai";
} else {
vercelModel = anthropic(model);
// Anthropic doesn't support system messages not at the very start.
const systemRole = model.startsWith("gpt") ? "system" : "user";
maxTokens: 8192,
headers: { "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" },
const stream = await streamText({
heaversm avatar
VALLE
@heaversm
VALL-E LLM code generation for vals! Make apps with a frontend, backend, and database. It's a bit of work to get this running, but it's worth it. Fork this val to your own profile. Make a folder for the temporary vals that get generated, take the ID from the URL, and put it in tempValsParentFolderId . If you want to use OpenAI models you need to set the OPENAI_API_KEY env var . If you want to use Anthropic models you need to set the ANTHROPIC_API_KEY env var . Create a Val Town API token , open the browser preview of this val, and use the API token as the password to log in.
HTTP (deprecated)
* If you want to use OpenAI models you need to set the `OPENAI_API_KEY` [env var](https://www.val.town/settings/environment-v
* If you want to use Anthropic models you need to set the `ANTHROPIC_API_KEY` [env var](https://www.val.town/settings/environ
* Create a [Val Town API token](https://www.val.town/settings/api), open the browser preview of this val, and use the API tok
tgrv avatar
VALLE
@tgrv
VALL-E LLM code generation for vals! Make apps with a frontend, backend, and database. It's a bit of work to get this running, but it's worth it. Fork this val to your own profile. Make a folder for the temporary vals that get generated, take the ID from the URL, and put it in tempValsParentFolderId . If you want to use OpenAI models you need to set the OPENAI_API_KEY env var . If you want to use Anthropic models you need to set the ANTHROPIC_API_KEY env var . Create a Val Town API token , open the browser preview of this val, and use the API token as the password to log in.
HTTP (deprecated)
* If you want to use OpenAI models you need to set the `OPENAI_API_KEY` [env var](https://www.val.town/settings/environment-v
* If you want to use Anthropic models you need to set the `ANTHROPIC_API_KEY` [env var](https://www.val.town/settings/environ
* Create a [Val Town API token](https://www.val.town/settings/api), open the browser preview of this val, and use the API tok
starrnx avatar
VALLE
@starrnx
VALL-E LLM code generation for vals! Make apps with a frontend, backend, and database. It's a bit of work to get this running, but it's worth it. Fork this val to your own profile. Make a folder for the temporary vals that get generated, take the ID from the URL, and put it in tempValsParentFolderId . If you want to use OpenAI models you need to set the OPENAI_API_KEY env var . If you want to use Anthropic models you need to set the ANTHROPIC_API_KEY env var . Create a Val Town API token , open the browser preview of this val, and use the API token as the password to log in.
HTTP (deprecated)
* If you want to use OpenAI models you need to set the `OPENAI_API_KEY` [env var](https://www.val.town/settings/environment-v
* If you want to use Anthropic models you need to set the `ANTHROPIC_API_KEY` [env var](https://www.val.town/settings/environ
* Create a [Val Town API token](https://www.val.town/settings/api), open the browser preview of this val, and use the API tok
ubyk avatar
VALLErun
@ubyk
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
HTTP (deprecated)
import { sleep } from "https://esm.town/v/stevekrouse/sleep?v=1";
import { anthropic } from "npm:@ai-sdk/anthropic";
import { openai } from "npm:@ai-sdk/openai";
} else {
vercelModel = anthropic(model);
// Anthropic doesn't support system messages not at the very start.
const systemRole = model.includes("gpt") ? "system" : "user";
maxTokens: 8192,
headers: { "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" },
let messages = [
ejfox avatar
VALLErun
@ejfox
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
HTTP (deprecated)
import { sleep } from "https://esm.town/v/stevekrouse/sleep?v=1";
import { anthropic } from "npm:@ai-sdk/anthropic";
import { openai } from "npm:@ai-sdk/openai";
} else {
vercelModel = anthropic(model);
// Anthropic doesn't support system messages not at the very start.
const systemRole = model.includes("gpt") ? "system" : "user";
maxTokens: 8192,
headers: { "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" },
let messages = [
roadlabs avatar
VALLErun
@roadlabs
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
HTTP (deprecated)
import { sleep } from "https://esm.town/v/stevekrouse/sleep?v=1";
import { anthropic } from "npm:@ai-sdk/anthropic";
import { openai } from "npm:@ai-sdk/openai";
} else {
vercelModel = anthropic(model);
// Anthropic doesn't support system messages not at the very start.
const systemRole = model.includes("gpt") ? "system" : "user";
maxTokens: 8192,
headers: { "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" },
let messages = [
tmcw avatar
azureCheetah
@tmcw
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
HTTP (deprecated)
import { sleep } from "https://esm.town/v/stevekrouse/sleep?v=1";
import { anthropic } from "npm:@ai-sdk/anthropic";
import { openai } from "npm:@ai-sdk/openai";
} else {
vercelModel = anthropic(model);
// Anthropic doesn't support system messages not at the very start.
const systemRole = model.startsWith("gpt") ? "system" : "user";
maxTokens: 8192,
headers: { "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" },
let messages = [
yawnxyz avatar
aiSimpleGroq
@yawnxyz
// set Deno.env.get("GROQ_API_KEY")
Script
// console.log(await ai("tell me a joke in Spanish"))
console.log(await ai("tell me a reddit joke", {
provider: "anthropic",
model: "claude-3-haiku-20240307",
cofsana avatar
VALLErun
@cofsana
The actual code for VALL-E: https://www.val.town/v/janpaul123/VALLE
HTTP (deprecated)
import { sleep } from "https://esm.town/v/stevekrouse/sleep?v=1";
import { anthropic } from "npm:@ai-sdk/anthropic";
import { openai } from "npm:@ai-sdk/openai";
} else {
vercelModel = anthropic(model);
// Anthropic doesn't support system messages not at the very start.
const systemRole = model.includes("gpt") ? "system" : "user";
maxTokens: 8192,
headers: { "anthropic-beta": "max-tokens-3-5-sonnet-2024-07-15" },
let messages = [
wlxiaozhzh avatar
VALLE
@wlxiaozhzh
VALL-E LLM code generation for vals! Make apps with a frontend, backend, and database. It's a bit of work to get this running, but it's worth it. Fork this val to your own profile. Make a folder for the temporary vals that get generated, take the ID from the URL, and put it in tempValsParentFolderId . If you want to use OpenAI models you need to set the OPENAI_API_KEY env var . If you want to use Anthropic models you need to set the ANTHROPIC_API_KEY env var . Create a Val Town API token , open the browser preview of this val, and use the API token as the password to log in.
HTTP (deprecated)
* If you want to use OpenAI models you need to set the `OPENAI_API_KEY` [env var](https://www.val.town/settings/environment-v
* If you want to use Anthropic models you need to set the `ANTHROPIC_API_KEY` [env var](https://www.val.town/settings/environ
* Create a [Val Town API token](https://www.val.town/settings/api), open the browser preview of this val, and use the API tok
geltoob avatar
VALLE
@geltoob
VALL-E LLM code generation for vals! Make apps with a frontend, backend, and database. It's a bit of work to get this running, but it's worth it. Fork this val to your own profile. Make a folder for the temporary vals that get generated, take the ID from the URL, and put it in tempValsParentFolderId . If you want to use OpenAI models you need to set the OPENAI_API_KEY env var . If you want to use Anthropic models you need to set the ANTHROPIC_API_KEY env var . Create a Val Town API token , open the browser preview of this val, and use the API token as the password to log in.
HTTP (deprecated)
* If you want to use OpenAI models you need to set the `OPENAI_API_KEY` [env var](https://www.val.town/settings/environment-v
* If you want to use Anthropic models you need to set the `ANTHROPIC_API_KEY` [env var](https://www.val.town/settings/environ
* Create a [Val Town API token](https://www.val.town/settings/api), open the browser preview of this val, and use the API tok