Skip to content

Commit 01cda8e

Browse files
text
1 parent 216e478 commit 01cda8e

12 files changed

+42
-8
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Initial
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Aiming: Solve complex problem

DeepLearningProtocol/Program.cs

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,49 @@ static void Main(string[] args)
142142
{
143143
var protocol = new DeepLearningProtocol();
144144

145-
Console.WriteLine($"Initial state: {protocol.GetCurrentState()}");
145+
Console.WriteLine("=== Deep Learning Protocol Interactive Console ===\n");
146+
Console.WriteLine($"Initial state: {protocol.GetCurrentState()}\n");
147+
148+
// Prompt user for input
149+
Console.Write("Enter your question or input (or press Enter for default): ");
150+
var userInput = Console.ReadLine();
151+
var initialInput = string.IsNullOrWhiteSpace(userInput) ? "Raw sensory data" : userInput;
152+
153+
Console.Write("Enter your goal (or press Enter for default): ");
154+
var userGoal = Console.ReadLine();
155+
var goal = string.IsNullOrWhiteSpace(userGoal) ? "Solve complex problem" : userGoal;
156+
157+
Console.Write("Enter processing depth (1-10, or press Enter for default 5): ");
158+
var userDepthStr = Console.ReadLine();
159+
var depth = 5;
160+
if (!string.IsNullOrWhiteSpace(userDepthStr) && int.TryParse(userDepthStr, out var depthValue) && depthValue > 0 && depthValue <= 10)
161+
{
162+
depth = depthValue;
163+
}
164+
165+
Console.WriteLine($"\n--- Processing: Input='{initialInput}', Goal='{goal}', Depth={depth} ---\n");
146166

147167
var result = protocol.ExecuteProtocol(
148-
initialInput: "Raw sensory data",
149-
goal: "Solve complex problem",
150-
depth: 5
168+
initialInput: initialInput,
169+
goal: goal,
170+
depth: depth
151171
);
152172

153-
Console.WriteLine("\nResult:");
173+
Console.WriteLine("\n--- Result ---");
154174
Console.WriteLine(result);
155175
Console.WriteLine($"\nFinal State: {protocol.GetCurrentState()}");
176+
177+
Console.WriteLine("\n--- Ask Another Question? (y/n) ---");
178+
var again = Console.ReadLine();
179+
if (again?.ToLower() == "y")
180+
{
181+
// Recursively call Main to allow multiple questions
182+
Main(args);
183+
}
184+
else
185+
{
186+
Console.WriteLine("Thank you for using the Deep Learning Protocol!");
187+
}
156188
}
157189
}
158190
}
Binary file not shown.
284 Bytes
Binary file not shown.

DeepLearningProtocol/obj/Debug/net10.0/DeepLearningProtocol.AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[assembly: System.Reflection.AssemblyCompanyAttribute("DeepLearningProtocol")]
1414
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
1515
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
16-
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+0e0a4e56d05ee19cda6da3a7994c1d2435cc79b7")]
16+
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+216e478168e90553e41689d9b30828f67a4bc481")]
1717
[assembly: System.Reflection.AssemblyProductAttribute("DeepLearningProtocol")]
1818
[assembly: System.Reflection.AssemblyTitleAttribute("DeepLearningProtocol")]
1919
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
be90c4b7c8b03fb9be51d832d624a8f830b4df8275259dd6cd0f2afbe7b0a3a0
1+
098e746138cb1f519105bb8e89d54805dc3d8cfc90b8d3f1340d6e4ff97b98b3
Binary file not shown.
284 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"documents":{"/workspaces/DeepLearningProtocol/*":"https://raw.githubusercontent.com/quickattach0-tech/DeepLearningProtocol/0e0a4e56d05ee19cda6da3a7994c1d2435cc79b7/*"}}
1+
{"documents":{"/workspaces/DeepLearningProtocol/*":"https://raw.githubusercontent.com/quickattach0-tech/DeepLearningProtocol/216e478168e90553e41689d9b30828f67a4bc481/*"}}

0 commit comments

Comments
 (0)