Gabriel Luiz Freitas Almeida
173561d803
Merge branch 'main' into release
2023-09-17 20:29:41 -03:00
Gabriel Luiz Freitas Almeida
ca7bd74013
🔖 chore(pyproject.toml): bump version from 0.4.18 to 0.4.19 to indicate a new release ( #924 )
2023-09-17 20:24:19 -03:00
Gabriel Luiz Freitas Almeida
0cf4f53771
🔖 chore(pyproject.toml): bump version from 0.4.18 to 0.4.19 to indicate a new release
2023-09-17 20:20:55 -03:00
Gabriel Luiz Freitas Almeida
b87502b45a
🔧 chore(process.py): change ValueError exception to a warning log message when encountering an unknown langchain_object type ( #923 )
2023-09-17 20:19:00 -03:00
Gabriel Luiz Freitas Almeida
4cefc59aba
🔀 merge(process.py): merge changes from langflow.utils.logger module to process.py module
...
🔀 merge(process.py): merge changes from langflow.utils.logger module to process.py module to improve code organization and import statements
2023-09-17 20:15:37 -03:00
Gabriel Luiz Freitas Almeida
d65a75c8d8
🔧 chore(process.py): replace logger import from langflow.utils.logger to loguru.logger for better logging functionality
...
🔧 chore(process.py): change ValueError exception to a warning log message when encountering an unknown langchain_object type
2023-09-17 20:14:25 -03:00
Gabriel Luiz Freitas Almeida
fa94ae3350
🔧 chore(render.yaml): add disk configuration for langflow-data to pro… ( #919 )
2023-09-14 23:02:26 +00:00
Gabriel Luiz Freitas Almeida
ff18b32aeb
🔀 chore(README.md): update Railway deployment button link to use a different template
2023-09-14 20:01:51 -03:00
Gabriel Luiz Freitas Almeida
40969d905a
🐛 fix(render.yaml): fix indentation of value for LANGFLOW_DATABASE_URL environment variable to match the key
2023-09-14 17:19:13 -03:00
Gabriel Luiz Freitas Almeida
502b520782
🔧 chore(render.yaml): add LANGFLOW_DATABASE_URL environment variable with sqlite database path to improve configuration
...
The LANGFLOW_DATABASE_URL environment variable is added with the value `sqlite:////home/user/.cache/langflow/langflow.db` to specify the path to the SQLite database file for the Langflow service. This improves the configuration by providing a specific location for the database file.
2023-09-14 17:18:22 -03:00
Gabriel Luiz Freitas Almeida
2a947e33a7
🔧 chore(render.yaml): remove unnecessary 'plan' field from langflow service configuration
...
📝 docs(render.yaml): update langflow service configuration to remove 'plan' field for better clarity and consistency
2023-09-14 15:39:46 -03:00
Gabriel Luiz Freitas Almeida
54776687f1
🔧 chore(render.yaml): add disk configuration for langflow-data to provide persistent storage for langflow cache
2023-09-14 15:38:45 -03:00
Gabriel Luiz Freitas Almeida
a35e6a6556
📝 docs(langfuse_integration.mdx): remove reference to troubleshooting section in Langfuse documentation as it is not available ( #900 )
2023-09-12 01:41:47 +00:00
Gabriel Luiz Freitas Almeida
b819f37798
📝 docs(langfuse_integration.mdx): remove reference to troubleshooting section in Langfuse documentation as it is not available
...
📝 docs(langfuse_integration.mdx): update step 3 to remove mention of consulting Langfuse documentation or contacting support for integration issues
2023-09-11 22:40:47 -03:00
Gabriel Luiz Freitas Almeida
5c18a02913
🔧 chore(__main__.py): change default value of cache option to None for better flexibility ( #893 )
...
Fixes #880
2023-09-11 17:27:22 +00:00
Gabriel Luiz Freitas Almeida
327cb0771f
🐛 fix(inputListComponent): handle conversion from string to array for value prop to ensure smooth operation and prevent potential errors
2023-09-11 14:23:35 -03:00
Gabriel Luiz Freitas Almeida
250b11b5d9
🐛 fix(__main__.py): make cache argument optional in update_settings function to allow not passing a value for it
2023-09-11 14:21:45 -03:00
Gabriel Luiz Freitas Almeida
15cd835a0c
🔧 chore(utils.py): add logging statement when no LLM cache is set to provide visibility and debugging information
2023-09-11 14:20:04 -03:00
Gabriel Luiz Freitas Almeida
6e7d7dfb51
🔧 chore(langfuse.py): update debug log message for better clarity and accuracy
2023-09-11 14:19:11 -03:00
Gabriel Luiz Freitas Almeida
899a8fbb33
🔧 chore(__main__.py): change default value of cache option to None for better flexibility
...
🐛 fix(utils.py): handle ImportError when importing cache class and log a warning message
🔧 chore(settings.py): change default value of CACHE option to None for better flexibility
Fixes #880
2023-09-11 14:05:35 -03:00
Gabriel Luiz Freitas Almeida
a1d888ce19
Adds Langfuse integration and Support for Document output in the API ( #890 )
2023-09-09 12:34:31 +00:00
Gabriel Luiz Freitas Almeida
de6b9d119a
Merge branch 'main' into release
2023-09-09 12:33:56 +00:00
Gabriel Luiz Freitas Almeida
e89251ef98
📦 chore(pyproject.toml): update package version from 0.4.17 to 0.4.18
...
🔧 chore(pyproject.toml): add markupsafe package as a dependency
2023-09-09 09:30:07 -03:00
Gabriel Luiz Freitas Almeida
f379d54686
🐛 fix(process.py): add support for processing Document objects in process_graph_cached function
2023-09-09 08:28:29 -03:00
Gabriel Luiz Freitas Almeida
489394a051
Adds langfuse integration ( #796 )
2023-08-31 13:42:48 +00:00
Gabriel Luiz Freitas Almeida
f100a6ca6c
⚙️ chore(pyproject.toml): add types-google-cloud-ndb package to the project dependencies
2023-08-30 10:10:49 -03:00
Gabriel Luiz Freitas Almeida
c7554a2477
🔧 chore(langfuse.py): fix import statement for Langfuse to ignore type checking
2023-08-30 10:10:39 -03:00
Gabriel Luiz Freitas Almeida
2fe8e29546
Merge branch 'release' into langfuse_integration
2023-08-30 09:53:21 -03:00
Gabriel Luiz Freitas Almeida
3fc7266d96
📦 chore(pyproject.toml): update langfuse dependency from version 1.0.2 to 1.0.13 to include bug fixes and improvements
2023-08-30 09:51:13 -03:00
Gabriel Luiz Freitas Almeida
afca3fe3e7
🔧 chore(base.py): add teardown method to Engine class for proper cleanup of the database engine
...
🔧 chore(base.py): add logging statement to teardown method for debugging purposes
🔧 chore(base.py): call dispose method on database engine instance in teardown method to properly release resources
🔧 chore(base.py): set database engine instance to None in teardown method to ensure proper cleanup
2023-08-30 09:51:02 -03:00
Gabriel Luiz Freitas Almeida
3efecc8b9b
🐛 fix(manager.py): add unique session id to avoid multiple clients with the same id
...
🐛 fix(utils.py): pass session id to process_graph function to ensure unique session id for each client
🐛 fix(base.py): pass session id to setup_callbacks function to ensure unique session id for each client
2023-08-30 09:50:19 -03:00
Gabriel Luiz Freitas Almeida
55bd1dc6ec
🔧 chore(main.py): import and add startup and shutdown events for LangfuseInstance to improve plugin functionality
...
🔧 chore(__init__.py): add empty file to create plugins directory structure
2023-08-30 09:49:57 -03:00
Gabriel Luiz Freitas Almeida
9559f1d684
✨ feat(langfuse.py): add temporary implementation of LangfuseInstance class
...
The LangfuseInstance class is a temporary implementation that will be replaced by a plugin system in the future. This class provides methods for creating, getting, updating, and tearing down an instance of Langfuse. It uses the Langfuse library and credentials from the settings module to create the instance. If no credentials are found, the instance is set to None. The update method resets the instance and creates a new one. The teardown method flushes the instance and sets it to None.
2023-08-30 09:49:38 -03:00
Gabriel Luiz Freitas Almeida
d5faee5c67
Adds MetalRetriever, HugginfaceEndpoint and other bugfixes ( #837 )
2023-08-29 20:38:05 +00:00
Gabriel Luiz Freitas Almeida
70e5b11aa7
🔥 refactor(test_llms_template.py): comment out unused test_llms_settings function to improve code readability and remove dead code
2023-08-29 17:36:19 -03:00
Gabriel Luiz Freitas Almeida
0c133c48ce
🔖 chore(pyproject.toml): bump version to 0.4.17 for langflow package
2023-08-29 17:34:28 -03:00
Gabriel Luiz Freitas Almeida
3d9533a98a
🔀 refactor(OpenAIConversationalAgent.py): remove unused openai_api_base parameter to improve code readability and maintainability ( #838 )
2023-08-29 20:33:31 +00:00
Gabriel Luiz Freitas Almeida
40f78cc13b
Merge branch 'main' into release
2023-08-29 20:28:20 +00:00
Gabriel Luiz Freitas Almeida
8f27c71553
Bugfix - InputListComponent expect an array as Input() ( #830 )
2023-08-29 20:25:28 +00:00
Alexandre Henrique Pereira Tavares
251bf39830
Hg endpoints ( #836 )
...
Added component to use an LLM model from Hugging Face Inference API.
2023-08-29 17:23:18 -03:00
Alexandre Henrique
9530230c2c
Fixed the connection to the forward component
2023-08-29 16:34:40 -03:00
Gabriel Luiz Freitas Almeida
4bb7181587
🔀 refactor(OpenAIConversationalAgent.py): remove unused openai_api_base parameter to improve code readability and maintainability
...
🔀 refactor(OpenAIConversationalAgent.py): make openai_api_base parameter optional with a default value of None for better flexibility and backward compatibility
2023-08-29 15:25:55 -03:00
Alexandre Henrique
e7f94f23e4
added huggingface endpoints
2023-08-29 00:31:55 -03:00
Cristhian Zanforlin Lousa
dc3db7ce78
🔧 chore(inputListComponent): add TODO comment for handling conversion from string to array format
...
🔧 chore(inputListComponent): add recursive character text splitter to handle conversion from string to array format
2023-08-28 13:59:01 -03:00
Cristhian Zanforlin Lousa
c6f6e2008e
🔀 refactor(inputListComponent): improve code readability and handle value conversion from string to array format
...
📝 WHY: The InputListComponent expects an array format for the value prop, but sometimes it receives a string instead. To prevent errors and ensure smooth operation, we need to handle the conversion from a string to an array with the string as its element. This refactor improves code readability and clarifies the purpose of the value conversion logic.
2023-08-28 13:52:49 -03:00
Cristhian Zanforlin Lousa
517816bd3b
🐛 fix(inputListComponent): convert value to an array when it's a string to avoid errors in InputListComponent
2023-08-28 13:51:42 -03:00
Cristhian Zanforlin Lousa
3b1872dd4c
🐛 fix(inputListComponent): fix type error when value is a string by converting it to an array
2023-08-28 13:31:50 -03:00
Gabriel Luiz Freitas Almeida
4d0771c9c8
Adds Metal Retriever Component ( #828 )
2023-08-28 11:43:34 +00:00
Gabriel Luiz Freitas Almeida
cc4db3911e
🔀 chore(MetalRetriever.py): fix import statement for Metal class from metal_sdk.metal module to resolve type checking issue
2023-08-28 08:06:37 -03:00
Gabriel Luiz Freitas Almeida
b3b0f63a1f
🔀 merge(MetalRetriever.py): merge changes from langchain/retrievers to langchain/schema to keep codebase up to date
...
🔀 merge(MetalRetriever.py): merge changes from metal_sdk/metal to langchain/schema to keep codebase up to date
🐛 fix(MetalRetriever.py): change BaseRetriever import from langchain.schema.retriever to langchain.schema to match updated codebase
✨ feat(MetalRetriever.py): add error handling to MetalRetriever build method to raise ValueError if connection to Metal API fails
2023-08-28 07:54:59 -03:00