-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add documentation to everything publically accessible
- Loading branch information
Showing
7 changed files
with
117 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
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 |
---|---|---|
@@ -1,6 +1,21 @@ | ||
namespace EasyOpenAiTools.Library.OpenAi; | ||
|
||
/// <summary> | ||
/// The <c>OpenAiSettings</c> record represents the settings required to configure an OpenAI chat. | ||
/// </summary> | ||
public record OpenAiSettings( | ||
/// <summary> | ||
/// The OpenAI API key used to authenticate requests. | ||
/// </summary> | ||
string OpenAiApiKey, | ||
|
||
/// <summary> | ||
/// The type of OpenAI language model to use for the chat session. | ||
/// </summary> | ||
OpenAiModelType OpenAiModel, | ||
|
||
/// <summary> | ||
/// The initial prompt to start the chat session with. | ||
/// </summary> | ||
string InitialPrompt | ||
); |
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
6 changes: 6 additions & 0 deletions
6
EasyOpenAiTools.Library/Tool/Attributes/ToolMethodAttribute.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
21 changes: 21 additions & 0 deletions
21
EasyOpenAiTools.Library/Tool/Attributes/ToolPropertyAttribute.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