feat: Added Elasticsearch database. #398
Annotations
10 errors and 10 warnings
src/Databases/Elasticsearch/src/obj/Release/net4.6.2/LangChain.Databases.Elasticsearch.GlobalUsings.g.cs#L6
The type or namespace name 'Http' does not exist in the namespace 'System.Net' (are you missing an assembly reference?)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L17
'ElasticsearchClient' does not contain a definition for 'GetCollectionAsync' and no accessible extension method 'GetCollectionAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L33
'ElasticsearchClient' does not contain a definition for 'ListCollectionsAsync' and no accessible extension method 'ListCollectionsAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L47
'ElasticsearchClient' does not contain a definition for 'CreateCollectionAsync' and no accessible extension method 'CreateCollectionAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L53
'ElasticsearchClient' does not contain a definition for 'ListCollectionsAsync' and no accessible extension method 'ListCollectionsAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L61
'ElasticsearchClient' does not contain a definition for 'CreateCollectionAsync' and no accessible extension method 'CreateCollectionAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorDatabase.cs#L70
'ElasticsearchClient' does not contain a definition for 'DeleteCollectionAsync' and no accessible extension method 'DeleteCollectionAsync' accepting a first argument of type 'ElasticsearchClient' could be found (are you missing a using directive or an assembly reference?)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
The type or namespace name 'MyDoc' could not be found (are you missing a using directive or an assembly reference?)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L69
No overload for method 'Knn' takes 0 arguments
|
src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L70
'TermQueryDescriptor<MyDoc>' does not contain a definition for 'User' and no accessible extension method 'User' accepting a first argument of type 'TermQueryDescriptor<MyDoc>' could be found (are you missing a using directive or an assembly reference?)
|
src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
|
src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
|
src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
|
src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
|
src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
|
src/Providers/TogetherAI/src/TogetherAiModelIds.cs#L524
If 'TogetherAiModelIds.ReservedDbrxInstruct' is not used in the current implementation, remove it. Otherwise give it a meaningful name. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1700)
|
This job failed
Loading