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
result = asyncio.run(kernel.run_async(
my_plugins["city_point"],
input_vars=["wuhan"],
))
print(result)
Traceback (most recent call last):
File "C:\Users\zhang\MySpace\dev\coding\python\file_exhange\semantic_kernel_02.py", line 30, in
result = asyncio.run(kernel.run_async(
^^^^^^^^^^^^^^^^
File "C:\Users\zhang\MySpace\dev\coding\python\file_exhange.venv\Lib\site-packages\pydantic\main.py", line 761, in getattr
raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}')
AttributeError: 'Kernel' object has no attribute 'run_async'
The text was updated successfully, but these errors were encountered:
@Jasper-zh Correct, this doc needs an update. Please refer to these examples, or any other kernel example in the samples folder, as well as Jupyter notebooks.
https://learn.microsoft.com/en-us/semantic-kernel/prompts/saving-prompts-as-files?tabs=python
Is the document not updated?
My version 0.9.2
Traceback (most recent call last):
File "C:\Users\zhang\MySpace\dev\coding\python\file_exhange\semantic_kernel_02.py", line 30, in
result = asyncio.run(kernel.run_async(
^^^^^^^^^^^^^^^^
File "C:\Users\zhang\MySpace\dev\coding\python\file_exhange.venv\Lib\site-packages\pydantic\main.py", line 761, in getattr
raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}')
AttributeError: 'Kernel' object has no attribute 'run_async'
The text was updated successfully, but these errors were encountered: