siva-nagendra / usdchat Goto Github PK
View Code? Open in Web Editor NEWusdchat is a conversational bot that lets you interact with USD Stage using natural language.
License: MIT License
usdchat is a conversational bot that lets you interact with USD Stage using natural language.
License: MIT License
After the major 1.x update of the OpenAI python api changes, the way we query the chatCompletions have changed. Hardcoding the openai package to 0.28.1.
I'm trying to run the plugin with usdview and I'm getting the following error:
2024-03-04 20:07:04,577 - usdview_chat.usdview - INFO - Loading chat widget
Traceback (most recent call last):
File "/Users/roey/miniforge3/envs/usd_env/bin/usdview", line 35, in <module>
Usdviewq.Launcher().Run()
File "/Users/roey/miniforge3/envs/usd_env/lib/python3.10/site-packages/pxr/Usdviewq/__init__.py", line 86, in Run
self.__LaunchProcess(arg_parse_result)
File "/Users/roey/miniforge3/envs/usd_env/lib/python3.10/site-packages/pxr/Usdviewq/__init__.py", line 397, in __LaunchProcess
(app, appController) = self.LaunchPreamble(arg_parse_result)
File "/Users/roey/miniforge3/envs/usd_env/lib/python3.10/site-packages/pxr/Usdviewq/__init__.py", line 387, in LaunchPreamble
appController = AppController(arg_parse_result, contextCreator)
File "/Users/roey/miniforge3/envs/usd_env/lib/python3.10/site-packages/pxr/Usdviewq/appController.py", line 445, in __init__
self._configurePlugins()
File "/Users/roey/miniforge3/envs/usd_env/lib/python3.10/site-packages/pxr/Usdviewq/appController.py", line 317, in _configurePlugins
self._plugRegistry = plugin.loadPlugins(
File "/Users/roey/miniforge3/envs/usd_env/lib/python3.10/site-packages/pxr/Usdviewq/plugin.py", line 350, in loadPlugins
container.registerPlugins(registry, usdviewApi)
File "/Users/roey/Development/usdchat/plugins/usdview_chat/usdview.py", line 57, in registerPlugins
onStartup(usdviewApi)
File "/Users/roey/Development/usdchat/plugins/usdview_chat/usdview.py", line 46, in onStartup
load_chat_widget(usdviewApi)
File "/Users/roey/Development/usdchat/plugins/usdview_chat/usdview.py", line 109, in load_chat_widget
active_chat_ui_instance = chat_widget.ChatBotUI(
File "/Users/roey/Development/usdchat/views/chat_widget.py", line 72, in __init__
super().__init__(parent)
TypeError: 'PySide6.QtWidgets.QWidget.__init__' called with wrong argument types:
PySide6.QtWidgets.QWidget.__init__(MainWindow)
Supported signatures:
PySide6.QtWidgets.QWidget.__init__(typing.Optional[PySide6.QtWidgets.QWidget] = None, PySide6.QtCore.Qt.WindowType = Default(Qt.WindowFlags))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.