跳到主要内容
版本:v0.6.1

Knowledge Resource

Sometimes, the agent needs to access external knowledge bases to enrich its knowledge. Here, we introduce the RetrieverResource, it is a resource that can be used to retrieve knowledge from external knowledge bases.

Now, there are two types of RetrieverResource:

  • RetrieverResource: A resource that can be used to retrieve knowledge from external knowledge bases.
  • KnowledgeSpaceRetrieverResource: A specific implementation of the RetrieverResource class that can be used to retrieve knowledge from DB-GPT's knowledge space. It just works when you run your agent in the DB-GPT environment(running in the DB-GPT webserver).

Using RetrieverResource

(Coming soon...)