Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback for “Build an AI Discord Bot with Rust and Rig: Step-by-Step Guide” #13

Open
rogerjbos opened this issue Feb 24, 2025 · 0 comments

Comments

@rogerjbos
Copy link

This tutorial probably needs updating. I was not able to find rig::rag::RagAgent and then I see in the CHANGELOG that it has been deprecated:

  • Deprecate RagAgent and Model in favor of versatile Agent

I am not sure how to make the adjustment from RagAgent to versatile Agent.

There are also a few other items I had to change. I had to add these two imports:

use rig::vector_store::in_memory_store::InMemoryVectorIndex;
use rig::vector_store::VectorStore;

And I was not able to get the ``` to compile so I have to wrap the string with r#...#.

I was not able to complete the tutorial because of the RagAgent issue, so I look forward to an update soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant