├── .env.example ├── .gitignore ├── LICENSE ├── README.md ├── app ├── api │ ├── assistants │ │ ├── files │ │ │ └── route.tsx │ │ ├── route.ts │ │ └── threads │ │ │ ├── [threadId] │ │ │ ├── actions │ │ │ │ └── route.ts │ │ │ └── messages │ │ │ │ └── route.ts │ │ │ └── route.ts │ └── files │ │ └── [fileId] │ │ └── route.ts ├── assistant-config.ts ├── components │ ├── chat.module.css │ ├── chat.tsx │ ├── file-viewer.module.css │ ├── file-viewer.tsx │ ├── warnings.module.css │ ├── warnings.tsx │ ├── weather-widget.module.css │ └── weather-widget.tsx ├── examples │ ├── all │ │ ├── page.module.css │ │ └── page.tsx │ ├── basic-chat │ │ ├── page.module.css │ │ └── page.tsx │ ├── file-search │ │ └── page.tsx │ ├── function-calling │ │ └── page.tsx │ └── shared │ │ └── page.module.css ├── favicon.png ├── globals.css ├── layout.tsx ├── openai.ts ├── page.module.css ├── page.tsx └── utils │ └── weather.ts ├── jsconfig.json ├── next.config.mjs ├── package.json ├── public └── openai.svg └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/README.md -------------------------------------------------------------------------------- /app/api/assistants/files/route.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/api/assistants/files/route.tsx -------------------------------------------------------------------------------- /app/api/assistants/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/api/assistants/route.ts -------------------------------------------------------------------------------- /app/api/assistants/threads/[threadId]/actions/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/api/assistants/threads/[threadId]/actions/route.ts -------------------------------------------------------------------------------- /app/api/assistants/threads/[threadId]/messages/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/api/assistants/threads/[threadId]/messages/route.ts -------------------------------------------------------------------------------- /app/api/assistants/threads/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/api/assistants/threads/route.ts -------------------------------------------------------------------------------- /app/api/files/[fileId]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/api/files/[fileId]/route.ts -------------------------------------------------------------------------------- /app/assistant-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/assistant-config.ts -------------------------------------------------------------------------------- /app/components/chat.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/components/chat.module.css -------------------------------------------------------------------------------- /app/components/chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/components/chat.tsx -------------------------------------------------------------------------------- /app/components/file-viewer.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/components/file-viewer.module.css -------------------------------------------------------------------------------- /app/components/file-viewer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/components/file-viewer.tsx -------------------------------------------------------------------------------- /app/components/warnings.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/components/warnings.module.css -------------------------------------------------------------------------------- /app/components/warnings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/components/warnings.tsx -------------------------------------------------------------------------------- /app/components/weather-widget.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/components/weather-widget.module.css -------------------------------------------------------------------------------- /app/components/weather-widget.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/components/weather-widget.tsx -------------------------------------------------------------------------------- /app/examples/all/page.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/examples/all/page.module.css -------------------------------------------------------------------------------- /app/examples/all/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/examples/all/page.tsx -------------------------------------------------------------------------------- /app/examples/basic-chat/page.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/examples/basic-chat/page.module.css -------------------------------------------------------------------------------- /app/examples/basic-chat/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/examples/basic-chat/page.tsx -------------------------------------------------------------------------------- /app/examples/file-search/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/examples/file-search/page.tsx -------------------------------------------------------------------------------- /app/examples/function-calling/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/examples/function-calling/page.tsx -------------------------------------------------------------------------------- /app/examples/shared/page.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/examples/shared/page.module.css -------------------------------------------------------------------------------- /app/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/favicon.png -------------------------------------------------------------------------------- /app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/globals.css -------------------------------------------------------------------------------- /app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/layout.tsx -------------------------------------------------------------------------------- /app/openai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/openai.ts -------------------------------------------------------------------------------- /app/page.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/page.module.css -------------------------------------------------------------------------------- /app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/page.tsx -------------------------------------------------------------------------------- /app/utils/weather.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/app/utils/weather.ts -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/jsconfig.json -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/package.json -------------------------------------------------------------------------------- /public/openai.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/public/openai.svg -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/openai/openai-assistants-quickstart/HEAD/tsconfig.json --------------------------------------------------------------------------------