-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
411 additions
and
141 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
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
6 changes: 3 additions & 3 deletions
6
...penAIChatGptModels/Gpt4_Vision_Preview.md → ...OpenAIChatGptModels/Gpt4Vision_Preview.md
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: 3 additions & 3 deletions
6
.../OpenAIChatGptModels/Gpt4_1106_Preview.md → ...OpenAIChatGptModels/Gpt4_Turbo_Preview.md
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
20 changes: 20 additions & 0 deletions
20
docs/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.md
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,20 @@ | ||
# ChatGptFactoryServiceCollectionExtensions class | ||
|
||
Provides extension methods for adding ChatGPT Client Factory support in NET applications. | ||
|
||
```csharp | ||
public static class ChatGptFactoryServiceCollectionExtensions | ||
``` | ||
|
||
## Public Members | ||
|
||
| name | description | | ||
| --- | --- | | ||
| static [AddChatGptClientFactory](ChatGptFactoryServiceCollectionExtensions/AddChatGptClientFactory.md)(…) | Registers a ChatGptClientFactory instance. | | ||
|
||
## See Also | ||
|
||
* namespace [ChatGptNet](../ChatGptNet.md) | ||
* [ChatGptFactoryServiceCollectionExtensions.cs](https://github.com/marcominerva/ChatGptNet/tree/master/src/ChatGptNet/ChatGptFactoryServiceCollectionExtensions.cs) | ||
<!-- DO NOT EDIT: generated by xmldocmd for ChatGptNet.dll --> |
25 changes: 25 additions & 0 deletions
25
...ChatGptNet/ChatGptFactoryServiceCollectionExtensions/AddChatGptClientFactory.md
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 @@ | ||
# ChatGptFactoryServiceCollectionExtensions.AddChatGptClientFactory method | ||
|
||
Registers a ChatGptClientFactory instance. | ||
|
||
```csharp | ||
public static IServiceCollection AddChatGptClientFactory(this IServiceCollection services, | ||
Action<ChatGptOptionsBuilder>? builder = null) | ||
``` | ||
|
||
| parameter | description | | ||
| --- | --- | | ||
| services | The IServiceCollection to add services to. | | ||
| builder | The Action to configure the provided [`ChatGptOptions`](../ChatGptOptions.md). | | ||
|
||
## Return Value | ||
|
||
A reference to this instance after the operation has completed. | ||
|
||
## See Also | ||
|
||
* class [ChatGptOptionsBuilder](../ChatGptOptionsBuilder.md) | ||
* class [ChatGptFactoryServiceCollectionExtensions](../ChatGptFactoryServiceCollectionExtensions.md) | ||
* namespace [ChatGptNet](../../ChatGptNet.md) | ||
|
||
<!-- DO NOT EDIT: generated by xmldocmd for ChatGptNet.dll --> |
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
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,21 @@ | ||
# IChatGptClientFactory interface | ||
|
||
Provides methods to create new instances of [`IChatGptClient`](./IChatGptClient.md) at runtime | ||
|
||
```csharp | ||
public interface IChatGptClientFactory | ||
``` | ||
|
||
## Members | ||
|
||
| name | description | | ||
| --- | --- | | ||
| [CreateClient](IChatGptClientFactory/CreateClient.md)() | Creates a new instance of a ChatGptClient. | | ||
| [CreateClient](IChatGptClientFactory/CreateClient.md)(…) | Creates a new instance of a ChatGptClient configured with the supplied action. (2 methods) | | ||
|
||
## See Also | ||
|
||
* namespace [ChatGptNet](../ChatGptNet.md) | ||
* [IChatGptClientFactory.cs](https://github.com/marcominerva/ChatGptNet/tree/master/src/ChatGptNet/IChatGptClientFactory.cs) | ||
<!-- DO NOT EDIT: generated by xmldocmd for ChatGptNet.dll --> |
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,69 @@ | ||
# IChatGptClientFactory.CreateClient method (1 of 3) | ||
|
||
Creates a new instance of a ChatGptClient. | ||
|
||
```csharp | ||
public IChatGptClient CreateClient() | ||
``` | ||
|
||
## Return Value | ||
|
||
A new [`IChatGptClient`](../IChatGptClient.md) | ||
|
||
## See Also | ||
|
||
* interface [IChatGptClient](../IChatGptClient.md) | ||
* interface [IChatGptClientFactory](../IChatGptClientFactory.md) | ||
* namespace [ChatGptNet](../../ChatGptNet.md) | ||
|
||
--- | ||
|
||
# IChatGptClientFactory.CreateClient method (2 of 3) | ||
|
||
Creates a new instance of a ChatGptClient configured with the supplied action. | ||
|
||
```csharp | ||
public IChatGptClient CreateClient(Action<ChatGptOptionsBuilder>? setupAction) | ||
``` | ||
|
||
| parameter | description | | ||
| --- | --- | | ||
| setupAction | The Action to configure the provided [`ChatGptOptions`](../ChatGptOptions.md). | | ||
|
||
## Return Value | ||
|
||
A new [`IChatGptClient`](../IChatGptClient.md) | ||
|
||
## See Also | ||
|
||
* interface [IChatGptClient](../IChatGptClient.md) | ||
* class [ChatGptOptionsBuilder](../ChatGptOptionsBuilder.md) | ||
* interface [IChatGptClientFactory](../IChatGptClientFactory.md) | ||
* namespace [ChatGptNet](../../ChatGptNet.md) | ||
|
||
--- | ||
|
||
# IChatGptClientFactory.CreateClient method (3 of 3) | ||
|
||
Creates a new instance of a ChatGptClient configured with the supplied action. | ||
|
||
```csharp | ||
public IChatGptClient CreateClient(Action<IServiceProvider, ChatGptOptionsBuilder>? setupAction) | ||
``` | ||
|
||
| parameter | description | | ||
| --- | --- | | ||
| setupAction | The Action to configure the provided [`ChatGptOptions`](../ChatGptOptions.md). | | ||
|
||
## Return Value | ||
|
||
A new [`IChatGptClient`](../IChatGptClient.md) | ||
|
||
## See Also | ||
|
||
* interface [IChatGptClient](../IChatGptClient.md) | ||
* class [ChatGptOptionsBuilder](../ChatGptOptionsBuilder.md) | ||
* interface [IChatGptClientFactory](../IChatGptClientFactory.md) | ||
* namespace [ChatGptNet](../../ChatGptNet.md) | ||
|
||
<!-- DO NOT EDIT: generated by xmldocmd for ChatGptNet.dll --> |
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
Oops, something went wrong.