Alejandro Acho
Alejandro Acho
By the moment I have found a workaround to fix this. ### 1-. Create base_site.html You have to create the file `admin/base_site.html` in the template root folder. Something like this:...
> I create my own [ESLint plugin](https://github.com/LuckyWindsck/eslint-plugin-nuxt3-auto-import) and provide globals that can be added to the ESLint configuration. I tried to dynamically fetch things that will be automatically imported by...
But does it has any sense when you are running it into a docker container? In my case I'm also working with a M1 macbook, but everything is containerized
Im using something like this: ``` payload = { "ChatInput": {'input_value': 'Some chat input}, "TextInput": {"input_value": 'Some text input'}, "AstraDB": {"collection_name": collection_name}, } tweaks = upload_file( file_path, LANGFLOW_API_URL, LANGFLOW_FLOW_ID, [f"{file_component_id}"],...
Finally as a workaround I ended up uploading the file to the FlowID and using the Directory Component pointing to that folder in order to get the file data. ```...
@mazierovictor I upload the file to the directory using the upload function: ``` @staticmethod def upload_file(flow_id: str, file_path: str): try: url = f"{settings.LANGFLOW_API_URL}/api/v1/files/upload/{flow_id}" headers = {} with open(file_path, "rb") as...
@mazierovictor btw, I managed to upload the file directly to the file component. Just as a reminder, you have to put the tweaks dict in a tweak json attribute: ```...