Skip to content

ddprrt/shuttle-qdrant-openai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Sample repo for Shuttle Qdrant OpenAI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published