This PR updates Langchain to 0.1.* and move components previously
created automatically to start using the CustomComponent framework.
This will improve maintainability and move Langflow to be closer to the
framework.
This pull request updates the cookie settings in the login.py file. Specifically, it removes the "secure" and "samesite" attributes from the response.set_cookie() function calls. This change ensures that the cookies are not restricted to secure connections only and are not limited to same-site requests.
This pull request refactors the import order and removes the unnecessary samesite attribute in the set_cookie() calls. This change improves the code readability and removes redundant code.
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
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
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