Json Schema WIP
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -43,8 +43,9 @@ uses
|
||||
Myc.Fmx.AstEditor.Handlers.Pipes in '..\Src\AST\Myc.Fmx.AstEditor.Handlers.Pipes.pas',
|
||||
Demo.Finance in '..\Test\Demo.Finance.pas',
|
||||
Myc.Ast.Script.Print in '..\Src\AST\Myc.Ast.Script.Print.pas',
|
||||
Myc.Ast.Json.Schema in '..\Src\AST\Myc.Ast.Json.Schema.pas',
|
||||
Myc.Ast.Attributes in 'Myc.Ast.Attributes.pas';
|
||||
Myc.Ast.Json.Schema.Old in '..\Src\AST\Myc.Ast.Json.Schema.Old.pas',
|
||||
Myc.Ast.Attributes in 'Myc.Ast.Attributes.pas',
|
||||
Myc.Ast.Json.Schema in '..\Src\AST\Myc.Ast.Json.Schema.pas';
|
||||
|
||||
{$R *.res}
|
||||
|
||||
|
||||
@@ -173,8 +173,9 @@
|
||||
<DCCReference Include="..\Src\AST\Myc.Fmx.AstEditor.Handlers.Pipes.pas"/>
|
||||
<DCCReference Include="..\Test\Demo.Finance.pas"/>
|
||||
<DCCReference Include="..\Src\AST\Myc.Ast.Script.Print.pas"/>
|
||||
<DCCReference Include="..\Src\AST\Myc.Ast.Json.Schema.pas"/>
|
||||
<DCCReference Include="..\Src\AST\Myc.Ast.Json.Schema.Old.pas"/>
|
||||
<DCCReference Include="Myc.Ast.Attributes.pas"/>
|
||||
<DCCReference Include="..\Src\AST\Myc.Ast.Json.Schema.pas"/>
|
||||
<BuildConfiguration Include="Base">
|
||||
<Key>Base</Key>
|
||||
</BuildConfiguration>
|
||||
|
||||
@@ -288,7 +288,10 @@ begin
|
||||
CompilerStageBox.BringToFront;
|
||||
ClearButtonClick(Self);
|
||||
|
||||
Memo1.Lines.Add(TAstSchema.GenerateFullSystemPrompt(FEnvironment.RootScope));
|
||||
// Memo1.Lines.Add(TAstSchema.GenerateFullSystemPrompt(FEnvironment.RootScope));
|
||||
|
||||
// "Dieses JSON-Objekt betest du in das Feld response_schema (Gemini) oder json_schema (OpenAI) ein."
|
||||
Memo1.Lines.Add(TAstSchema.GenerateFullSchema.ToJSON);
|
||||
end;
|
||||
|
||||
procedure TForm1.ShowVizualization;
|
||||
|
||||
Reference in New Issue
Block a user