Skip to content

Commit 20098d1

Browse files
authored
Add example using OpenAI Agents SDK and AgentFS (#40)
2 parents da3ef2c + 430e480 commit 20098d1

File tree

14 files changed

+2533
-0
lines changed

14 files changed

+2533
-0
lines changed

.github/workflows/typescript.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,9 @@ jobs:
8383
run: |
8484
npm ci
8585
npm run build
86+
87+
- name: Test OpenAI Agents Example
88+
working-directory: examples/openai-agents/research-assistant
89+
run: |
90+
npm ci
91+
npm run build
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# OpenAI API Key (required)
2+
OPENAI_API_KEY=your-api-key-here
3+
4+
# Optional: Custom AgentFS database path
5+
# AGENTFS_DB=agentfs.db
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules/
2+
dist/
3+
.env
4+
*.db
5+
*.log
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Research Assistant (VLDB + SIGMOD)
2+
3+
A minimal research assistant that answers database research questions by finding most relevant papers from the VLDB and SIGMOD conference proceedings.
4+
5+
## Getting Started
6+
7+
Install dependencies:
8+
9+
```console
10+
npm install
11+
```
12+
13+
Ask a research question:
14+
15+
```
16+
npm run ask -- "How do learned indexes compare to B+ trees?"
17+
```
2.62 MB
Binary file not shown.

0 commit comments

Comments
 (0)