Back to Db Gpt

Knowledge Resource

docs/docs/agents/modules/resource/knowledge.md

0.8.0707 B
Original Source

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