botdev
botdev
RRailway
Created by botdev on 4/17/2024 in #✋|help
Redis For Vector Search (GenAI)
Thanks! This is what I wanted to make sure of
5 replies
RRailway
Created by botdev on 4/17/2024 in #✋|help
Redis For Vector Search (GenAI)
e1945e5f-b9fa-48e6-94d2-71b38a682cb7
5 replies
RRailway
Created by botdev on 12/17/2023 in #✋|help
Starting multiple celery workers
Is it possible to somehow empty the task queue?
16 replies
RRailway
Created by botdev on 12/17/2023 in #✋|help
Starting multiple celery workers
all the tasks include the tasks that has not be picked up by celery worker yet.
16 replies
RRailway
Created by botdev on 12/17/2023 in #✋|help
Starting multiple celery workers
I dont know how to do it
16 replies
RRailway
Created by botdev on 12/17/2023 in #✋|help
Starting multiple celery workers
Currently, My users requests too many times. I dont know how much. But my celery is executing them one by one. which is like 5 hours after the task was received. Right know, want to cancel all of the tasks.
16 replies
RRailway
Created by botdev on 12/17/2023 in #✋|help
Starting multiple celery workers
Hi, guys. I have a question related to celery. There are a lot of tasks queued on my message broker which is redis. Deployed as a separate service. How can I delete all the queued tasks? Would redeploying be helpfull?
16 replies
RRailway
Created by botdev on 12/17/2023 in #✋|help
Starting multiple celery workers
What I understand is that there will be two services. One for telegram bot the other is for celery. I have two more questions: 1. How my telegram bot call celery task which is running in another service? Should I use API endpoint? 2. Still, what is the procfile would look like to start two celery workers on the service side where my celery is running?
16 replies
RRailway
Created by botdev on 12/17/2023 in #✋|help
Starting multiple celery workers
I have one telegram bot. It in there is celery configuration. Telegram bots cannot have multiple instances. Would this still work?
16 replies
RRailway
Created by botdev on 12/17/2023 in #✋|help
Starting multiple celery workers
e1945e5f-b9fa-48e6-94d2-71b38a682cb7
16 replies
RRailway
Created by botdev on 12/12/2023 in #✋|help
.pptx to .pdf converter
Thanks! Will try this.
22 replies
RRailway
Created by botdev on 12/12/2023 in #✋|help
.pptx to .pdf converter
I dont know what is that file. Where can I find it?
22 replies
RRailway
Created by botdev on 12/12/2023 in #✋|help
.pptx to .pdf converter
like this: import subprocess def convert_pptx_to_pdf(pptx_file, output_dir): command = [ "libreoffice", "--headless", "--convert-to", "pdf", pptx_file, "--outdir", output_dir ] subprocess.run(command)
22 replies
RRailway
Created by botdev on 12/12/2023 in #✋|help
.pptx to .pdf converter
Would it be possible to install LibreOffice and run command line commands in python to convert .pptx file into .pdf?
22 replies
RRailway
Created by botdev on 12/12/2023 in #✋|help
.pptx to .pdf converter
Thanks for the reply. It look like this library does not support .pptx files and convertions.
22 replies
RRailway
Created by botdev on 10/26/2023 in #✋|help
Max numbers of users
Thanks!
135 replies
RRailway
Created by botdev on 10/26/2023 in #✋|help
Max numbers of users
Bot is communicating with my fastapi endpoint
135 replies
RRailway
Created by botdev on 10/26/2023 in #✋|help
Max numbers of users
Where is the generated file is saved, so that my bot could download it?
135 replies
RRailway
Created by botdev on 10/26/2023 in #✋|help
Max numbers of users
I want to do this on the railway platform
135 replies
RRailway
Created by botdev on 10/26/2023 in #✋|help
Max numbers of users
Advice on file retrieval system? I am plan to implement celery for queueing tasks. Telegram bot send request to the fastAPI endpoint. The enpoint adds the task to RabbitMQ, then celery gets tasks from the broker and execute. Once task finished, a url path to the generated file is returned. Not sure what to do after. My telegram bot needs to somehow retrieve this file.
135 replies