Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/MaIN.Core/.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package>
<metadata>
<id>MaIN.NET</id>
<version>0.7.1</version>
<version>0.7.2</version>
<authors>Wisedev</authors>
<owners>Wisedev</owners>
<icon>favicon.png</icon>
Expand Down
2 changes: 1 addition & 1 deletion src/MaIN.Domain/Entities/FileInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ public class FileInfo
public required string Name { get; set; }
public required string Extension { get; set; }
public string? Content { get; set; }
public FileStream? StreamContent { get; set; }
public Stream? StreamContent { get; set; }
public string? Path { get; set; }
}
2 changes: 1 addition & 1 deletion src/MaIN.Services/Dtos/FileInfoDto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ public class FileInfoDto
[JsonPropertyName("content")]
public string? Content { get; init; }

public FileStream? StreamContent { get; set; }
public Stream? StreamContent { get; set; }
}
2 changes: 1 addition & 1 deletion src/MaIN.Services/Services/LLMService/ChatMemoryOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public class ChatMemoryOptions
{
public Dictionary<string, string> TextData { get; set; } = [];
public Dictionary<string, string> FilesData { get; set; } = [];
public Dictionary<string, FileStream> StreamData { get; set; } = [];
public Dictionary<string, Stream> StreamData { get; set; } = [];
public List<string> WebUrls { get; set; } = [];
public List<string>? Memory { get; set; } //Is this obsolete? TBD validate how its really used
public bool PreProcess { get; set; } = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private async Task ImportFilesData((IKernelMemory km, ITextEmbeddingGenerator? g
}


private async Task ImportStreamData((IKernelMemory km, ITextEmbeddingGenerator? generator) memory, Dictionary<string, FileStream>? streamData,
private async Task ImportStreamData((IKernelMemory km, ITextEmbeddingGenerator? generator) memory, Dictionary<string, Stream>? streamData,
CancellationToken cancellationToken)
{
if (streamData?.Any() != true)
Expand Down
Loading