Skip to main content

Knowledge

Defined in the knowledge module.
AI Agent

Constructor

Any
No description available.
Any
No description available.

Methods

config()

Instance method.

memory()

Initialize knowledge adapter using protocol-driven approach.

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 53

Knowledge Concept

Knowledge Overview

Knowledge Configuration

Chat with PDF