Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juanjofr/langchain-semantic-search-engine
A semantic search engine built with LangChain and Next.js
https://github.com/juanjofr/langchain-semantic-search-engine
langchain nextjs semantic-search
Last synced: 14 days ago
JSON representation
A semantic search engine built with LangChain and Next.js
- Host: GitHub
- URL: https://github.com/juanjofr/langchain-semantic-search-engine
- Owner: JuanjoFR
- Created: 2025-01-19T16:50:33.000Z (23 days ago)
- Default Branch: main
- Last Pushed: 2025-01-26T17:18:13.000Z (16 days ago)
- Last Synced: 2025-01-26T18:25:40.737Z (16 days ago)
- Topics: langchain, nextjs, semantic-search
- Language: TypeScript
- Homepage:
- Size: 2.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Description
This project uses Next.js with shadcn/ui for creating a semantic search engine with Langchain. It was created following the tutorial in this article: [Langchain Retrievers Tutorial](https://js.langchain.com/docs/tutorials/retrievers/). The project uses OpenAI as the chat model.
## Video Demonstration
Watch the video below to see an example usage of the app:
[langchain-semantic-search-engine.webm](https://github.com/user-attachments/assets/3c54a824-359c-43df-8b61-f326e8c8c1e3)
## Technologies Used
This project leverages the following technologies:
- **Next.js**: A React framework for server-side rendering and generating static websites.
- **shadcn/ui**: A component library for building user interfaces.
- **Langchain**: A framework for developing applications powered by language models.
- **OpenAI**: Used as the chat model for generating responses.
- **TypeScript**: A typed superset of JavaScript that compiles to plain JavaScript.
- **Tailwind CSS**: A utility-first CSS framework for styling.
- **Vercel**: Hosting platform for deploying the application.## Getting Started
First, create a `.env.local` file with your API keys by using `.env.local.template` as a template:
```bash
cp .env.local.template .env.local
```Then, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
## Contact
For any questions or feedback, please contact Juanjo Fernández at [[email protected]](mailto:[email protected]).