async def acomplete(self, prompt: str, **kwargs: Any) -> CompletionResponse:
        """
        Send an asynchronous completion request to the Reka API.

        Args:
            prompt (str): The prompt for completion.
            **kwargs: Additional keyword arguments for the API call.

        Returns:
            CompletionResponse: The response from the Reka API.

        Raises:
            ValueError: If there's an error with the Reka API call.

        Example:
            >>> import asyncio
            >>> from llama_index.llms.reka import RekaLLM
            >>>
            >>> async def main():
            ...     reka_llm = RekaLLM(api_key="your-api-key-here")
            ...     prompt = "The capital of France is"
            ...     response = await reka_llm.acomplete(prompt)
            ...     print(response.text)
            >>>
            >>> asyncio.run(main())

        """
        all_kwargs = self._get_all_kwargs(**kwargs)
        try:
            response = await self._aclient.chat.create(
                messages=[{"role": "user", "content": prompt}], **all_kwargs
            )
            return CompletionResponse(
                text=response.responses[0].message.content,
                raw=response.__dict__,
            )
        except ApiError as e:
            raise ValueError(f"Reka API error: {e.status_code} - {e.body}")

        Send an asynchronous completion request to the Reka API.

        Args:
            prompt (str): The prompt for completion.
            **kwargs: Additional keyword arguments for the API call.

        Returns:
            CompletionResponse: The response from the Reka API.

        Raises:
            ValueError: If there's an error with the Reka API call.

        Example:
            >>> import asyncio
            >>> from llama_index.llms.reka import RekaLLM
            >>>
            >>> async def main():
            ...     reka_llm = RekaLLM(api_key="your-api-key-here")
            ...     prompt = "The capital of France is"
            ...     response = await reka_llm.acomplete(prompt)
            ...     print(response.text)
            >>>
            >>> asyncio.run(main())

        
llama-index-integrations/llms/llama-index-llms-reka/llama_index/llms/reka/base.py