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 theRetrieverResource
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...)