Skip to content

Commit

Permalink
🔥 refactor: remove langchain
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jul 23, 2023
1 parent f5e8d7c commit 7b0f96c
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 169 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

<h1>Lobe Chat</h1>

Lobe Chat is an open-source chatbot client using LangChain

Typescript and Next.js
Lobe Chat is an open-source chatbot client using OpenAI and Next.js

[Changelog](./CHANGELOG.md) · [Report Bug][issues-url] · [Request Feature][issues-url]

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
"gpt-tokenizer": "^2",
"i18next": "^23",
"immer": "^10",
"langchain": "latest",
"lodash-es": "^4",
"lucide-react": "latest",
"nanoid": "^4",
Expand Down
95 changes: 0 additions & 95 deletions src/pages/api/LangChainStream.ts

This file was deleted.

17 changes: 0 additions & 17 deletions src/pages/api/chain.api.ts

This file was deleted.

18 changes: 0 additions & 18 deletions src/services/langChain.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/services/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ const isDev = process.env.NODE_ENV === 'development';
const prefix = isDev ? '-dev' : '';

export const URLS = {
chain: '/api/chain' + prefix,
openai: '/api/openai' + prefix,
};
34 changes: 0 additions & 34 deletions src/types/langchain.ts

This file was deleted.

0 comments on commit 7b0f96c

Please sign in to comment.