GenAI.BuildingBlocks 1.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package GenAI.BuildingBlocks --version 1.0.4                
NuGet\Install-Package GenAI.BuildingBlocks -Version 1.0.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GenAI.BuildingBlocks" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GenAI.BuildingBlocks --version 1.0.4                
#r "nuget: GenAI.BuildingBlocks, 1.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GenAI.BuildingBlocks as a Cake Addin
#addin nuget:?package=GenAI.BuildingBlocks&version=1.0.4

// Install GenAI.BuildingBlocks as a Cake Tool
#tool nuget:?package=GenAI.BuildingBlocks&version=1.0.4                

No contexto do seu README, seria assim para cada bloco de c�digo:

```csharp
Obtenha a inst�ncia das interfaces:
            _cadastroUsuarioRepository = InternalConfigurationDI.GetService<UserRepository>(connectionStringMongoDB, database);
            _mongoQueryBuilder = InternalConfigurationDI.GetService<IMongoQueryBuilder>();
            _teamsUtilities = InternalConfigurationDI.GetService<TeamsUtilities>(microsoftAppId, microsoftAppPassword, conversationId);

2. **Para o primeiro exemplo de uso**:
   ```markdown
   ```csharp
   var messageUser = "Liste todos os usu�rios";
   this.fnCallParameters.MessageUser = messageUser;
   this.fnCallParameters.Model = new User();

   var queryIA      = await _mongoQueryBuilder.GetQueryFromIA<User>(fnCallParameters);
   var response     = await _mongoCommand.GetRunCommandAsyncToTable(queryIA);


3. **Para a implementa��o da classe `User`**:
```markdown
```csharp
[RuleConditionPrompt(Rule = "Regra 100", Condition = @"Lembre-se: voc� deve retornar todos os campos relacionados na cole��o cadastro_usuarios.")]
[RuleConditionPrompt(Rule = "Regra 101", Condition = @"Lembre-se da regra 100.")]
[Display(Name = "Cadastro de Usu�rios")]
[BsonCollection("cadastro_usuarios_teste_hml")]
public class User : BaseModel
{
    [Display(Name = "ID")]
    [JsonProperty(PropertyName = "_id")]
    [BsonRepresentation(BsonType.String)]
    public ObjectId Id { get; set; }

    [Display(Name = "E-Mail")]
    [JsonProperty(PropertyName = "Mail")]
    public string Mail { get; set; }
}

4. **Para o exemplo de cria��o de inst�ncia**:
```markdown
```csharp

Utilize BaseMongoRepository para opera��es de reposit�rio.
Exemplo de Heran�a:

    public class UserRepository: BaseMongoDBRepository<User>
    {
        public UserRepository(string connectionString, string databaseName) : base(connectionString, databaseName)
        {

        }
    }


5. **Voc� pode enviar mensagens para o teams**:
```markdown
```csharp

Use a classe TeamsUtilities para isso.

Exemplo: 

public async Task GetAndSendUserToTeams()
{
    try
    {
        var messageUser = "Liste todos os usu�rios";
        this.fnCallParameters.MessageUser = messageUser;
        this.fnCallParameters.Model = new User();

        var queryIA  = await _mongoQueryBuilder.GetQueryFromIA<User>(fnCallParameters);
        var response = await _mongoCommand.GetRunCommandAsyncToTable(queryIA);
        response.AskUser = messageUser;

        var html = response.ToHTML();

        var result = await _teamsUtilities.SendMessageToTeams(html);

        Assert.True(!string.IsNullOrEmpty(result.Id));
    }
    catch (Exception ex)
    {

        throw ex;
    }
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 90 4/25/2024
1.0.13 80 4/1/2024
1.0.12 81 2/23/2024
1.0.11 71 2/23/2024
1.0.10 103 2/19/2024
1.0.9 73 2/16/2024
1.0.8 97 2/5/2024
1.0.7 77 2/2/2024
1.0.6 74 2/1/2024
1.0.5 73 2/1/2024
1.0.4 75 1/30/2024
1.0.3 70 1/29/2024