Skip to content

feat: VectorStoreIndexCreator, error fixes, tweeking, Documents QnA t… #102

feat: VectorStoreIndexCreator, error fixes, tweeking, Documents QnA t…

feat: VectorStoreIndexCreator, error fixes, tweeking, Documents QnA t… #102

Triggered via push November 5, 2023 17:18
Status Success
Total duration 5m 7s
Artifacts 1

dotnet.yml

on: push
Build, test and publish  /  Build, test and publish
4m 56s
Build, test and publish / Build, test and publish
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Chains/CombineDocuments/StuffDocumentsChain.cs#L64
Nullability of reference types in value of type '(string?, Dictionary<string, object>)' doesn't match target type '(string Output, Dictionary<string, object> OtherKeys)'.
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Base/TextSplitter.cs#L74
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Base/TextSplitter.cs#L75
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Docstore/Document.cs#L35
Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1861)
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Docstore/Document.cs#L51
Prefer using 'string.Equals(string, StringComparison)' to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1862)
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Docstore/Document.cs#L62
Prefer the string comparison method overload of 'string.Contains(string)' that takes a 'StringComparison' enum value to perform a case-insensitive comparison, but keep in mind that this might cause subtle changes in behavior, so make sure to conduct thorough testing after applying the suggestion, or if culturally sensitive comparison is not required, consider using 'StringComparison.OrdinalIgnoreCase' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1862)
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Docstore/Document.cs#L51
In method 'Lookup', replace the call to 'ToLower' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Docstore/Document.cs#L53
In method 'Lookup', replace the call to 'ToLower' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Docstore/Document.cs#L62
In method 'Lookup', replace the call to 'ToLower' with 'ToUpperInvariant' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1308)
Build, test and publish / Build, test and publish: src/libs/LangChain.Core/Base/TextSplitter.cs#L75
Possible multiple enumerations of 'IEnumerable' collection. Consider using an implementation that avoids multiple enumerations. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1851)

Artifacts

Produced during runtime
Name Size
nuget-packages Expired
6.41 MB