Commit graph

2,692 commits

Author SHA1 Message Date
anovazzi1
fa4a01caed chore(RetrievalQAWithSourcesChain.py): reorder imports to improve readability and maintain consistency
chore(AZLyricsLoader.py): reorder imports to improve readability and maintain consistency

chore(AirbyteJSONLoader.py): reorder imports to improve readability and maintain consistency

chore(CoNLLULoader.py): add import for List from typing module to fix type hinting

chore(CollegeConfidentialLoader.py): add import for List from typing module to fix type hinting

chore(EverNoteLoader.py): reorder imports to improve readability and maintain consistency

chore(FacebookChatLoader.py): add import for List from typing module to fix type hinting

chore(GitbookLoader.py): reorder imports to improve readability and maintain consistency

chore(HNLoader.py): add import for List from typing module to fix type hinting

chore(IMSDbLoader.py): add import for List from typing module to fix type hinting

chore(TextLoader.py): reorder imports to improve readability and maintain consistency

chore(CohereEmbeddings.py): change default value of cohere_api_key parameter to an empty string

chore(OpenAIEmbeddings.py): change default values of allowed_special, disallowed_special, chunk_size, embedding_ctx_length, max_retries, show_progress_bar, skip_empty, and tikToken_enable parameters to their respective types
2024-01-25 19:11:06 -03:00
anovazzi1
8bff60d2f2 feat(llms): Add support for using SecretStr from pydantic to store sensitive API keys securely
feat(llms): Add support for using process.env.PORT environment variable to configure server port

fix(llms): Fix incorrect default value for model_kwargs parameter in AnthropicComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in ChatAnthropicComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in ChatOpenAIComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in ChatVertexAIComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in CohereComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in LlamaCppComponent

fix(llms): Fix incorrect default value for model_kwargs parameter in VertexAIComponent

fix(utilities): Fix incorrect default value for k parameter in BingSearchAPIWrapperComponent

fix(vectorstores): Fix missing required documents parameter in FAISSComponent

fix(vectorstores): Fix missing required documents parameter in PineconeComponent

fix(vectorstores): Fix missing required documents parameter in QdrantComponent
2024-01-25 18:54:01 -03:00
anovazzi1
9c06b16eb3 Fix default value for k parameter and add default value for searx_host parameter 2024-01-25 16:40:58 -03:00
anovazzi1
ce39b75c37 fix(components): fix import statement in UnstructuredWordDocumentLoader.py to use langflow instead of langchain
fix(vectorstores): change optional List[Document] parameters to required List[Document] in FAISS.py, Pinecone.py, Qdrant.py, and SupabaseVectorStore.py to improve consistency and avoid potential NoneType errors
2024-01-25 14:51:28 -03:00
Gabriel Luiz Freitas Almeida
a3cc0c7fa6 Fix imports and formatting issues 2024-01-24 19:57:58 -03:00
Gabriel Luiz Freitas Almeida
87d2db11ac Merge remote-tracking branch 'origin/dev' into update_lc 2024-01-24 19:22:22 -03:00
Gabriel Luiz Freitas Almeida
8c523b35d7
Merge branch 'dev' into cz/bug/state/zustand 2024-01-18 21:33:40 -03:00
anovazzi1
291e5f42c0 Update embeddings and conversation chains 2024-01-18 13:38:23 -03:00
cristhianzl
06bc86142a Merge branch 'dev' into cz/bug/state/zustand 2024-01-18 09:35:09 -03:00
dxxky
fd8a82fc49
Update AzureChatOpenAI.py
Add API Supported versions - 2023-09-01-preview
2024-01-18 17:16:23 +08:00
Gabriel Luiz Freitas Almeida
91d1b04d92 Add indexes to tables apikey, flow, and user 2024-01-17 07:36:05 -03:00
Gabriel Luiz Freitas Almeida
3eb14b53f1 Add indexes to tables apikey, flow, and user 2024-01-17 07:34:18 -03:00
Gabriel Luiz Freitas Almeida
fa55e98a0b Fix unique constraints and column nullability 2024-01-17 07:07:45 -03:00
Gabriel Luiz Freitas Almeida
8cb4fe9f5f Add primary key and unique constraints to user, apikey, and flow tables 2024-01-16 23:13:09 -03:00
anovazzi1
8c61654bda Update SQLDatabaseChainComponent return type 2024-01-16 19:17:52 -03:00
anovazzi1
f4ae9b4308 Refactor RetrievalQAWithSourcesChainComponent class 2024-01-16 18:54:08 -03:00
anovazzi1
921e34e378 Add BaseCombineDocumentsChain to CombineDocsChainComponent 2024-01-16 18:33:41 -03:00
anovazzi1
9bd1c755c4 Update LLMMathChainComponent to use LLMMathChain 2024-01-16 18:27:42 -03:00
anovazzi1
b56cca506d Update LLMMathChainComponent build method signature 2024-01-16 18:22:26 -03:00
anovazzi1
cb5076cba0 Update LLMChainComponent signature 2024-01-16 18:13:31 -03:00
anovazzi1
4f5f8258f3 Add typing imports and update return type in LLMMathChainComponent 2024-01-16 18:13:16 -03:00
anovazzi1
758b4e443d Add create_vectorstore_router_agent function and update VectorStoreRouterToolkitComponent 2024-01-16 18:04:14 -03:00
anovazzi1
f83120bcec Update VectorStoreAgent and VectorStoreToolkit 2024-01-16 17:56:42 -03:00
anovazzi1
00d80a4b9b Add llm parameter to build method in VectorStoreRouterToolkitComponent 2024-01-16 17:33:39 -03:00
anovazzi1
c05ab078fa Refactor VectorStoreInfoComponent and VectorStoreToolkitComponent
This commit refactors the VectorStoreInfoComponent and VectorStoreToolkitComponent classes. The changes include importing the VectorStoreInfo class from the correct module and adding a new parameter, llm, to the build method of the VectorStoreToolkitComponent class.
2024-01-16 17:28:08 -03:00
anovazzi1
d9d89470c5 Remove commented code in OpenAPIToolkitComponent 2024-01-16 16:58:40 -03:00
anovazzi1
0a21f2b453 Refactor build method in JsonToolkitComponent 2024-01-16 16:49:50 -03:00
anovazzi1
630d28ea01 Update display names for advanced settings in SupabaseVectorStore.py 2024-01-16 16:35:02 -03:00
anovazzi1
e79022c71f Update SupabaseVectorStore implementation 2024-01-16 16:34:01 -03:00
anovazzi1
f7fc67bb9a Update QdrantComponent parameters 2024-01-16 16:23:30 -03:00
anovazzi1
3c7e553d8b Update Pinecone component configuration 2024-01-16 16:13:49 -03:00
anovazzi1
cba57bb8f2 Update Pinecone.py to use the new Pinecone package and add support for BaseRetriever 2024-01-16 16:11:12 -03:00
anovazzi1
2cb5855c7b Update display name for LLM in ZeroShotAgent.py 2024-01-16 15:52:30 -03:00
anovazzi1
ef4a195e7a Update text splitter and vector stores 2024-01-16 15:50:19 -03:00
anovazzi1
5065234a1d Update ChatVertexAIComponent parameters and imports 2024-01-16 15:20:57 -03:00
anovazzi1
ffb0dc0012 Add VertexAI import and update file_types in VertexAIComponent 2024-01-16 15:07:19 -03:00
anovazzi1
69c6ede614 Update LlamaCppComponent parameters 2024-01-16 14:01:22 -03:00
anovazzi1
306292c36f Update CTransformersComponent build_config() method 2024-01-16 13:43:12 -03:00
anovazzi1
239e4bcb7c Update Anthropic and ChatAnthropic components 2024-01-16 13:30:31 -03:00
anovazzi1
bd4a6e9d3a Refactor CohereComponent instantiation in Cohere.py 2024-01-16 12:54:31 -03:00
anovazzi1
63c030133c Fix file_types in credentials field 2024-01-16 12:51:36 -03:00
anovazzi1
7dcbe3a525 Update HuggingFaceEmbeddings.py with default encode_kwargs and model_kwargs 2024-01-16 11:58:15 -03:00
anovazzi1
d4b0706580 Update CohereEmbeddingsComponent and ChatOpenAIComponent configurations 2024-01-16 11:40:35 -03:00
anovazzi1
1c7eb2cf0f Add WolframAlphaAPIWrapper with appid configuration 2024-01-16 00:28:22 -03:00
anovazzi1
d4d3bcd7ef Update import statement for WikipediaAPIWrapper 2024-01-16 00:22:43 -03:00
anovazzi1
c215491549 Update SerpAPIWrapper import and parameters 2024-01-16 00:16:16 -03:00
Gabriel Luiz Freitas Almeida
6b5d51016a Fix LangflowApplication initialization 2024-01-15 23:29:57 -03:00
anovazzi1
e7899480af Add searx_host parameter to SearxSearchWrapperComponent 2024-01-15 22:48:13 -03:00
anovazzi1
01b386fe5b Add k parameter to SearxSearchWrapper build method 2024-01-15 22:46:12 -03:00
anovazzi1
a7196ec774 Fix password field in GoogleSerperAPIWrapperComponent 2024-01-15 22:29:48 -03:00