You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
corticalstack
changed the title
AttributeError: 'OpenAIChatTarget' object has no attribute 'print'
BUG: AttributeError: 'OpenAIChatTarget' object has no attribute 'print'
Apr 23, 2024
corticalstack
changed the title
BUG: AttributeError: 'OpenAIChatTarget' object has no attribute 'print'
BUG AttributeError: 'OpenAIChatTarget' object has no attribute 'print'
Apr 23, 2024
Describe the bug
Trying to instantiate an OpenAIChatTarget (not Azure). Code taken from previous issue regards implementing the OpenAIChatTarget:
Steps/Code to Reproduce
Run the above code, fails with no attribute print. Pyrit installed with pip. Perhaps your PyPi release is outdated?
Versions
OS: Ubuntu 23.04 (Windows 11, WSL 2)
Python : 3.10.14
System:
python: 3.10.14 (main, Mar 21 2024, 16:24:04) [GCC 11.2.0]
executable: /root/miniconda3/envs/lhg_py310_pyrit/bin/python
machine: Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-glibc2.37
Python dependencies:
pyrit: 0.1.2
Cython: None
numpy: 1.26.4
openai: 1.23.2
pip: 23.3.1
scikit-learn: 1.4.2
scipy: 1.13.0
setuptools: 68.0.0
tensorflow: None
torch: 2.1.2
transformers: 4.40.0
The text was updated successfully, but these errors were encountered: