DDB-GPTSource ↗
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.

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


Source: docs/i18n/zh-CN/docusaurus-plugin-content-docs/current/agents/modules/resource/knowledge.md

Generated by smolify with deterministic-repository-import-v2 · 1 source file