>>> import pickle
>>> data = pickle.dumps(llm)
>>> new_llm = pickle.loads(data)
>>> new_llm.complete("Say one word! ")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/loganm/llama_index_proper/llama_index/llama_index/llms/base.py", line 313, in wrapped_llm_predict
f_return_val = f(_self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loganm/llama_index_proper/llama_index/llama_index/llms/openai.py", line 203, in complete
return complete_fn(prompt, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loganm/llama_index_proper/llama_index/llama_index/llms/generic_utils.py", line 153, in wrapper
chat_response = func(messages, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/loganm/llama_index_proper/llama_index/llama_index/llms/openai.py", line 238, in _chat
response = self._client.chat.completions.create(
^^^^^^^^^^^^
AttributeError: 'OpenAI' object has no attribute '_client'. Did you mean: '_aclient'?