Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arafipro/langchain-openai-base-api
【Cloudflare Workers】今からでも遅くない!!OpenAI API+LangChainを使ったAPIを作る
https://github.com/arafipro/langchain-openai-base-api
bun cloudflare-workers hono langchain openai-api typescript youtube zod
Last synced: 6 days ago
JSON representation
【Cloudflare Workers】今からでも遅くない!!OpenAI API+LangChainを使ったAPIを作る
- Host: GitHub
- URL: https://github.com/arafipro/langchain-openai-base-api
- Owner: arafipro
- Created: 2024-08-20T07:06:26.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-20T07:24:09.000Z (3 months ago)
- Last Synced: 2024-10-16T11:03:54.133Z (21 days ago)
- Topics: bun, cloudflare-workers, hono, langchain, openai-api, typescript, youtube, zod
- Language: TypeScript
- Homepage: https://youtu.be/ViLEETSKaAI
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 【Cloudflare Workers】今からでも遅くない!!OpenAI API+LangChainを使ったAPIを作る
## YouTube
[!["【Cloudflare Workers】今からでも遅くない!!OpenAI API+LangChainを使ったAPIを作る"](https://i.ytimg.com/vi/ViLEETSKaAI/maxresdefault.jpg)](https://youtu.be/ViLEETSKaAI)
## 技術選定
- Bun
- TypeScript
- Hono
- Zod
- OPENAI API
- LangChain
- Cloudflare Workers## 初期設定
### NodeModule をインストール
```bash
bun install
```### OPENAI API KEYを設定
ファイル`.dev.vars.sample`を`.dev.vars`に変更して、OPENAI API KEYを指定する
```sh:.dev.vars
OPENAI_API_KEY=
```