Skip to content

Commit

Permalink
fix: clean up spider example
Browse files Browse the repository at this point in the history
  • Loading branch information
saikatmitra91 committed May 22, 2024
1 parent 48319c7 commit 2278715
Show file tree
Hide file tree
Showing 6 changed files with 2,469 additions and 116 deletions.
5 changes: 5 additions & 0 deletions examples/spider-using-ts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ This example requires Typescript.

## Usage

1. Install npm dependencies
```sh
npm i
```

1. Review the `empiricalrc.ts` configuration, and make changes if any. The current configuration runs models
from OpenAI, and Llama and thus, requires [relevant environment variables](https://docs.empirical.run/models/basic).
```sh
Expand Down
2 changes: 1 addition & 1 deletion examples/spider-using-ts/db.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sqlite3 from "sqlite3";
import { cleanClosingBraces, getFileName, loadJson, removeBackticks } from "./utils";
import { cleanClosingBraces, loadJson, removeBackticks } from "./utils";
import fs from "fs";

const dbSchemas = loadJson("./schema.json");
Expand Down
Loading

0 comments on commit 2278715

Please sign in to comment.