Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guilhermebkel/semantic-search-llm-ai
🤖 That's a simple LLM semantic search that implements RAG concepts with help of LangChain and OpenAI API.
https://github.com/guilhermebkel/semantic-search-llm-ai
ai embeddings langchain openai-api puppeteer rag redis redis-vector-store retrieval-augmented-generation semantic-search-ai typescript
Last synced: 2 months ago
JSON representation
🤖 That's a simple LLM semantic search that implements RAG concepts with help of LangChain and OpenAI API.
- Host: GitHub
- URL: https://github.com/guilhermebkel/semantic-search-llm-ai
- Owner: guilhermebkel
- Created: 2024-07-14T14:54:35.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-07-14T17:43:53.000Z (6 months ago)
- Last Synced: 2024-10-17T22:27:21.113Z (3 months ago)
- Topics: ai, embeddings, langchain, openai-api, puppeteer, rag, redis, redis-vector-store, retrieval-augmented-generation, semantic-search-ai, typescript
- Language: TypeScript
- Homepage:
- Size: 131 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Semantic Search LLM AI 🤖
## 📌 Overview
That's a simple LLM semantic search that implements RAG concepts with help of LangChain and OpenAI API.
## 🔧 Technologies
- Typescript
- LangChain
- OpenAI API
- Redis Vector Store
- Puppeteer## ⚠️ In hand polyfills for NodeJS under v18
- ReadableStream
- **Path:** node_modules/@langchain/core/dist/utils/sax-js/sax.cjs
- **Lib:** ```npm install web-streams-polyfill```
- **Import:** ```const { ReadableStream } = require("web-streams-polyfill")```- ReadableStream
- **Path:** node_modules/@langchain/core/dist/utils/stream.cjs
- **Lib:** ```npm install web-streams-polyfill```
- **Import:** ```const { ReadableStream } = require("web-streams-polyfill")```- fetch
- **Path:** node_modules/@langchain/core/dist/utils/async_caller.cjs
- **Lib:** ```npm install node-fetch```
- **Import:** ```const fetch = require("node-fetch")```## 🚀 Getting started
1. Clone this repository
2. Run the following commands
```sh
npm run load
npm run ask
```