Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 881 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 881 Bytes

Rust, Qdrant, Shuttle: A Rust-based semantic document search

This example shows how to create a semantic document search with chat capability in Rust, using Shuttle and Qdrant - a vector search engine.

Prerequisites

  1. Install Shuttle CLI tools:
cargo install cargo-shuttle
  1. Get a Qdrant Account at qdrant.tech

  2. Get an OpenAI API key at openai.com

  3. Create a Secrets.toml file (or Secrets.dev.toml for local development) with the following contents:

OPENAI_API_KEY = "<ENTER YOUR KEY HERE>"
QDRANT_TOKEN = "<ENTER YOUR KEY HERE>"
QDRANT_URL = "<ENTER YOUR KEY HERE>"

Running the example

cargo shuttle run

More Info

Check out our live stream at https://www.youtube.com/watch?v=YLWSeiDh2o0

Troubleshooting

  • Make sure you Qdrant URL ends with port :6334