I have used DeepLake and LangChain to make embeddings. I am looking to ask a question based on the embeddings. A simple one like:
Are their any randomness errors that can happen in solidity?
To do this, I'm working with the following python code:
def ask_qa(qa: ConversationalRetrievalChain, question: str, chat_history: list = []):
result = qa({"question": question, "chat_history": chat_history})
However, I'm getting this error:
deeplake.util.exceptions.DynamicTensorNumpyError: Tensor 'embedding' with index = Index([slice(None, None, None)]) has dynamic 'shape' and cannot be converted into a `np.ndarray`. Try setting the parameter `aslist=True`
How would I go about triaging this?