Skip to content

Commit

Permalink
refactor(vertex-ai): Move Vertex AI client to its own package (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmigloz authored Aug 12, 2023
1 parent 80e61eb commit d8aea15
Show file tree
Hide file tree
Showing 38 changed files with 1,569 additions and 1,094 deletions.
3 changes: 2 additions & 1 deletion packages/langchain/lib/src/documents/vector_stores/base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ abstract class VectorStore {
}) {
return switch (searchType) {
VectorStoreSearchType.similarity => similaritySearch(query: query, k: k),
VectorStoreSearchType.mmr => maxMarginalRelevanceSearch(query: query, k: k),
VectorStoreSearchType.mmr =>
maxMarginalRelevanceSearch(query: query, k: k),
};
}

Expand Down
1 change: 0 additions & 1 deletion packages/langchain_google/lib/langchain_google.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/// Google module for LangChain.dart.
library;

export 'src/clients/clients.dart';
export 'src/doc_loaders/doc_loaders.dart';
export 'src/llms/llms.dart';
1 change: 0 additions & 1 deletion packages/langchain_google/lib/src/clients/clients.dart

This file was deleted.

351 changes: 0 additions & 351 deletions packages/langchain_google/lib/src/clients/vertex_ai/models/chat.dart

This file was deleted.

Loading

0 comments on commit d8aea15

Please sign in to comment.