Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG w/ langchain

  1. Setup Qdrant database:
  • docker pull qdrant/qdrant
  • docker run -p 6333:6333 -v $(pwd)/qdrant_storage:/qdrant/storage qdrant/qdrant
  1. Create new qdrant collection:
  • curl -X PUT 'http://localhost:6333/collections/rag' \
      -H 'Content-Type: application/json' \
      --data-raw '{
        "vectors": {
          "size": 4096,
          "distance": "Dot"
        }
      }'
    
  1. Install dependencies:
  • npm install
  1. Run import:
  • npm run start langchain-qdrant.ts import
  1. Ask question:
  • npm run start langchain-qdrant.ts ask

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages