The post is a question from a community member asking how to get data from an API. The comments provide some guidance, suggesting that the community member could use the Data connectors tool in LlamaIndex to ingest data from APIs. However, the specific code or method to use is not provided. The community members discuss the possibility of using LlamaIndex or a language model to fetch data from an external Elasticsearch database, but there is no explicitly marked answer.
---------------------- To get data from an API using LlamaIndex, you would use the Data connectors tool. Data connectors are designed to ingest your existing data from their native source and format, which could be APIs, PDFs, SQL, and much more.
However, the specific code or method to use for this task is not provided in the given extracts. For more detailed instructions, you should refer to the LlamaIndex documentation (). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
Hi @WhiteFang_Jr My data is stored in elastic search I need to invoke an API call to fetch the data from the API call based on the query provided by me to the query engine