Skip to content

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

@rogerjbos

Description

@rogerjbos

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions