griptape
griptape copied to clipboard
Refactor/task memory cleanup
- [x] I have read and agree to the contributing guidelines for submitting new pull requests.
Describe your changes
Added
-
ExtractionClient
Tool for having the LLM extract structured data from text. -
PromptSummaryClient
Tool for having the LLM summarize text. -
QueryClient
Tool for having hte LLM queyr text.
Changed
-
BREAKING: Removed
TextArtifactStorage.query
andTextArtifactStorage.summarize
. -
BREAKING: Removed
TextArtifactStorage.rag_engine
, andTextArtifactStorage.retrieval_rag_module_name
. -
BREAKING: Removed
TextArtifactStorage.summary_engine
,TextArtifactStorage.csv_extraction_engine
, andTextArtifactStorage.json_extraction_engine
. -
BREAKING: Removed
TaskMemory.summarize_namespace
andTaskMemory.query_namespace
. -
BREAKING: Removed
Structure.rag_engine
. -
BREAKING: Split
JsonExtractionEngine.template_generator
intoJsonExtractionEngine.system_template_generator
andJsonExtractionEngine.user_template_generator
. -
BREAKING: Split
CsvExtractionEngine.template_generator
intoCsvExtractionEngine.system_template_generator
andCsvExtractionEngine.user_template_generator
. -
BREAKING: Changed
JsonExtractionEngine.template_schema
from arun
argument to a class attribute. -
BREAKING: Changed
CsvExtractionEngine.column_names
from arun
argument to a class attribute. -
BREAKING: Removed
JsonExtractionTask
, andCsvExtractionTask
useExtractionTask
instead. -
BREAKING: Removed
TaskMemoryClient
, useRagClient
,ExtractionClient
, orPromptSummaryClient
instead. -
RagClient
now can be used to search through Artifacts stored in Task Memory.
Issue ticket number and link
Closes #623 Closes #1024
📚 Documentation preview 📚: https://griptape--1055.org.readthedocs.build//1055/