No matches found in users.
Try switching to another result type using the tabs above.
You can access search results via JSON API by adding format=json
to your query:
https://codesearch.val.run/?q=openai&page=1&format=json
For typeahead suggestions, use the /typeahead
endpoint:
https://codesearch.val.run/typeahead?q=openai
Returns an array of strings in format "username" or "username/projectName"
Found 345 results for "openai"(499ms)
No matches found in users.
Try switching to another result type using the tabs above.
1246<a href="?q=function" className="example-link">function</a>
1247<a href="?q=discord" className="example-link">discord</a>
1248<a href="?q=openai" className="example-link">openai</a>
1249<a href="?q=react" className="example-link">react</a>
1250</div>
1401<a href="?q=function" className="example-link">function</a>
1402<a href="?q=discord" className="example-link">discord</a>
1403<a href="?q=openai" className="example-link">openai</a>
1404<a href="?q=react" className="example-link">react</a>
1405</div>
100Note: When changing a SQLite table's schema, change the table's name (e.g., add _2 or _3) to create a fresh table.
101102### OpenAI
103```ts
104import { OpenAI } from "https://esm.town/v/std/openai";
105const openai = new OpenAI();
106const completion = await openai.chat.completions.create({
107messages: [
108{ role: "user", content: "Say hello in a creative way" },