-
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.
Cherry pick branch 'genexuslabs:embedding-data-type' into beta
- Loading branch information
1 parent
346d930
commit cdb7d8a
Showing
3 changed files
with
26 additions
and
1 deletion.
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
24 changes: 24 additions & 0 deletions
24
dotnet/src/dotnetframework/GxClasses/Domain/ChatMessage.cs
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,24 @@ | ||
using System.Collections.Generic; | ||
|
||
namespace GeneXus.AI | ||
{ | ||
public class ChatMessage | ||
{ | ||
public string Role { get; set; } | ||
public string Content { get; set; } | ||
public List<ToolCall> ToolCalls { get; set; } | ||
public string ToolCallId{ get; set; } | ||
} | ||
public class ToolCall | ||
{ | ||
public string Id { get; set; } | ||
public string Type { get; set; } | ||
|
||
public Function Function { get; set; } | ||
} | ||
public class Function | ||
{ | ||
public string Name { get; set; } | ||
public string Arguments { get; set; } | ||
} | ||
} |