Skip to content

flows-network/demo-RAG-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use saved embeddings in a Discord chat

If you want to build locally, make sure you have installed Rust and added the wasm32-wasi target.

cargo build --target wasm32-wasi --release

Settings when you deploy the flow function on flows.network. Click on "Advanced" when you import the GitHub repo to flows.network to enter the setting names and values below.

Name Value
discord_token Copied from Discord Developer Portal
bot_id Copied from Discord Developer Portal -- General information -- Application ID
collection_name The collection name you used to store the embeddings, e.g., my_kb
error_mesg Sorry, an error has occurred or your question is not related to the Rust programming language. Please try again later.
system_prompt You are an expert in the Rust programming language. Please answer the question based on the context provided. CONTEXT:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages