feat: Added Elasticsearch database. #399
Annotations
10 errors and 10 warnings
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/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/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L70
Only assignment, call, increment, decrement, await, and new object expressions can be used as a statement
|
src/Databases/Elasticsearch/src/ElasticsearchVectorCollection.cs#L64
The 'await' operator can only be used within an async method. Consider marking this method with the 'async' modifier and changing its return type to 'Task<Task<VectorSearchResponse>>'.
|
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/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