MCPcopy Create free account
hub / github.com/PromtEngineer/localGPT / demonstrate_features

Method demonstrate_features

demo_batch_indexing.py:197–218  ·  view source on GitHub ↗

Demonstrate various indexing features.

(self)

Source from the content-addressed store, hash-verified

195 return None
196
197 def demonstrate_features(self):
198 """Demonstrate various indexing features."""
199 print("\n🎯 Batch Indexing Demo Features:")
200 print("=" * 50)
201
202 # Show configuration
203 print(f"📋 Configuration file: {self.config_path}")
204 print(f"📊 Number of indexes to create: {len(self.config.get('indexes', []))}")
205
206 # Show pipeline settings
207 pipeline_settings = self.config.get("pipeline_settings", {})
208 if pipeline_settings:
209 print("\n⚙️ Pipeline Settings:")
210 for key, value in pipeline_settings.items():
211 print(f" {key}: {value}")
212
213 # Show model configuration
214 ollama_config = self.config.get("ollama_config", {})
215 if ollama_config:
216 print("\n🤖 Model Configuration:")
217 for key, value in ollama_config.items():
218 print(f" {key}: {value}")
219
220 def run_demo(self):
221 """Run the complete batch indexing demo."""

Callers 1

run_demoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected