Search

3,307 results found for openai (1754ms)

Code
3,212

},
{
"title": "An Introduction to OpenAI fine-tuning",
"slug": "an-introduction-to-openai-fine-tuning",
"link": "/blog/an-introduction-to-openai-fine-tuning",
"description": "How to customize OpenAI to your liking",
"pubDate": "Fri, 25 Aug 2023 00:00:00 GMT",
"author": "Steve Krouse",
"slug": "val-town-newsletter-16",
"link": "/blog/val-town-newsletter-16",
"description": "Our seed round, growing team, Codeium completions, @std/openai, and more",
"pubDate": "Mon, 22 Apr 2024 00:00:00 GMT",
"author": "Steve Krouse",
- [**We at Val Town**](https://www.val.town/u/valdottown) made [door](https://www.val.town/x/val
- [**Joey Hiller**](https://www.val.town/u/jhiller) made [ValTown-Package-Tracker](https://www.v
//www.val.town/x/dinavinter/slack), a Slack bot that uses OpenAI to generate responses.
- [**prashamtrivedi**](https://www.val.town/u/prashamtrivedi) made [hn-remote-ts-genai-jobs](htt
- [**dcm31**](https://www.val.town/u/dcm31) made [rotrank](https://www.val.town/x/dcm31/rotrank)
},
{
"title": "An Introduction to OpenAI fine-tuning",
"slug": "an-introduction-to-openai-fine-tuning",
"link": "/blog/an-introduction-to-openai-fine-tuning",
"description": "How to customize OpenAI to your liking",
"pubDate": "Fri, 25 Aug 2023 00:00:00 GMT",
"author": "Steve Krouse",
"slug": "val-town-newsletter-16",
"link": "/blog/val-town-newsletter-16",
"description": "Our seed round, growing team, Codeium completions, @std/openai, and more",
"pubDate": "Mon, 22 Apr 2024 00:00:00 GMT",
"author": "Steve Krouse",
- [**We at Val Town**](https://www.val.town/u/valdottown) made [door](https://www.val.town/x/val
- [**Joey Hiller**](https://www.val.town/u/jhiller) made [ValTown-Package-Tracker](https://www.v
//www.val.town/x/dinavinter/slack), a Slack bot that uses OpenAI to generate responses.
- [**prashamtrivedi**](https://www.val.town/u/prashamtrivedi) made [hn-remote-ts-genai-jobs](htt
- [**dcm31**](https://www.val.town/u/dcm31) made [rotrank](https://www.val.town/x/dcm31/rotrank)
<p>
</a> is a powerful command-line tool for interacting with OpenAI, Anthropic, Gemini, Llama, and
<span class="font-semibold">The recommended way to install <code>llm</code> is with Home
</p>
<li>
<strong>Set your API key</strong><br />
<pre><code>llm keys set openai</code></pre>
<p class="mt-2">Paste your OpenAI API key when prompted. (You can also use Anthropic, Gemi
</li>
<li>
<img src="https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/df173046-1b81-407c-e86b-ddfc22d7ed00/
has some useful code for packaging up pdfs to be sent to OpenAI and to be sent via @std/email.
## Gmail forwarding Set-up
import { email } from "https://esm.town/v/std/email";
import { generateObject } from "npm:ai@5.0.3";
import { openai } from "npm:@ai-sdk/openai@2.0.3";
import { z } from "npm:zod@4.0.14";
import { encodeBase64 } from "https://deno.land/std@0.224.0/encoding/base64.ts";
const { object: outgoingEmail } = await generateObject({
model: openai.responses("gpt-4o"),
schema: EmailSchema,
schemaName: "email",
// @ts-ignore
import { OpenAI } from "https://esm.town/v/std/openai?v=4";
// @ts-ignore
import { Hono } from "npm:hono@4.4.12";
`;
const openai = new OpenAI();
const completion = await openai.chat.completions.create({
model: "gpt-4o",
messages: [
// @ts-ignore
import { OpenAI } from "https://esm.town/v/std/openai?v=4";
// @ts-ignore
import { Hono } from "npm:hono@4.4.12";
`;
const openai = new OpenAI();
const completion = await openai.chat.completions.create({
model: "gpt-4o",
messages: [
real/Etl/main.tsx
4 matches
// @ts-ignore
import { OpenAI } from "https://esm.town/v/std/openai?v=4";
// @ts-ignore
import { sqlite } from "https://esm.town/v/std/sqlite?v=4";
<main class="panel">
<h1>G<sub>ETL</sub>(s): AI Data Transfer Function</h1>
uted); margin-top: -0.5rem; margin-bottom: 1.5rem;">Using OpenAI as a Serverless Transformation
<section>
// --- API ROUTING & LOGIC ---
const app = new Hono();
const openai = new OpenAI();
// Middleware to ensure database is ready
// This is the core of the "Transfer Function" G_ETL(s)
const completion = await openai.chat.completions.create({
model: "gpt-4o",
messages: [