astronomer / ask-astro

An end-to-end LLM reference implementation providing a Q&A interface for Airflow and Astronomer
https://ask.astronomer.io/
Apache License 2.0
192 stars 47 forks source link

Ask Astro || Incorrect response for query: Tell me how can I check task logs with airflow CLI #101

Closed vatsrahul1001 closed 8 months ago

vatsrahul1001 commented 10 months ago

In Airflow CLI we do not have any logs command in tasks, and the response is totally incorrect

Response i have received from Ask Astro

To check task logs with the Airflow CLI, you will need to use the Airflow tasks logs command. Here is the basic syntax: airflow tasks logs -A -t [task_id] [dag_id] [execution_date] • Replace [task_id] with the ID of the task you want to view logs for. • Replace [dag_id] with the ID of the DAG that the… See more

sunank200 commented 10 months ago

We have not ingested https://github.com/kaxil/airflowctl to this deployment

phanikumv commented 10 months ago

Then response should be something like what chapgpt says for unknown topics.."As of my last knowledge update in 2023, I dont have access to this information"

davidgxue commented 8 months ago

https://ask.astronomer.io/requests/ee38ece4-b57a-11ee-8e69-42004e494300

We ingested CLI docs and I tried out asking about how to read airflow logs. Seems to be working. Closing the issue