ingestFromTable method
Implementation
Future<MemoryIngestResult> ingestFromTable({
required String name,
required String table,
List<String>? textColumns,
List<String>? tableNamespace,
int? limit,
List<String>? namespace,
MemoryIngestStrategy strategy = MemoryIngestStrategy.heuristic,
String? llmModel,
double? llmTemperature,
}) async {
final response = await _invokeJson("ingest_from_table", {
"name": name,
"namespace": namespace,
"table": table,
"table_namespace": tableNamespace,
"text_columns": textColumns,
"limit": limit,
"strategy": strategy.value,
"llm_model": llmModel,
"llm_temperature": llmTemperature,
});
return MemoryIngestResult.fromJson(response.json, operation: "ingest_from_table");
}