-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from OpenAI-DotNet to OpenAI api.
Initial version to support Agent/chat functionality.
- Loading branch information
1 parent
f730c1f
commit ffd749a
Showing
10 changed files
with
303 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using GeneXus.Application; | ||
|
||
namespace GeneXus.Utils | ||
{ | ||
public class CallResult | ||
{ | ||
public CallResult() { } | ||
public bool Success() | ||
{ | ||
return true; | ||
} | ||
public bool Fail() | ||
{ | ||
return false; | ||
} | ||
public msglist GetMessages() | ||
{ | ||
return new msglist(); | ||
} | ||
public string ToJson() | ||
{ | ||
return "{}"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>net6.0;net8.0</TargetFrameworks> | ||
<PackageTags>Genexus AI</PackageTags> | ||
<PackageId>GeneXus.AI.Core</PackageId> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="OpenAI" Version="2.0.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\GxClasses\GxClasses.csproj" /> | ||
</ItemGroup> | ||
|
||
|
||
</Project> |
Oops, something went wrong.