Skip to main content

Knowledge

Defined in the knowledge module.
AI Agent

Constructor

config
Any
No description available.
verbose
Any
No description available.

Methods

config()

Instance method.

memory()

Instance method.

markdown()

Instance method.

chunker()

Instance method.

store()

Store a memory.

get_all()

Retrieve all memories.

get()

Retrieve a specific memory by ID.

search()

Search for memories related to a query.

update()

Update a memory.

history()

Get the history of changes for a memory.

delete()

Delete a memory.

delete_all()

Delete all memories.

reset()

Reset all memories.

normalize_content()

Normalize content for consistent storage.

add()

Read file content and store it in memory.

index()

Index a directory or file for knowledge retrieval.

get_corpus_stats()

Get statistics about the indexed corpus.

Source

View on GitHub

praisonaiagents/knowledge/knowledge.py at line 379

Knowledge Concept

Knowledge Overview

Knowledge Configuration

Chat with PDF