-
Hi, I'm getting the following error "TypeError: object GenerateContentResponse can't be used in 'await' expression" when calling ainvoke or astream of ChatGoogleGenerativeAI.
Code to reproduce:
``…
-
When I open a notebook from /tree, i get the following error in terminal:
```c:\users\work\miniconda3\envs\playground\lib\json\encoder.py:257: UserWarning: date_default is deprecated since jupyter_c…
ghost updated
2 years ago
-
Hi, I'm trying to use AsyncOAuthSettings with SQLAlchemyOAuthStateStore. However, I stumbled upon this error and found out that SQLAlchemyOAuthStateStore doesn't support async operations:
```
Fi…
-
Ahoj,
I try to use this on Python 3.12.
It fails with `ImportError: cannot import name 'coroutine' from 'asyncio' (/usr/lib/python3.12/asyncio/__init__.py). Did you mean: 'coroutines'?`:
```
…
-
I'd love a version of `call_on_each_event` that would not block, and instead register a callable with a reactor.
This could probably be combined with fairly general / framework agnostic async suppo…
glyph updated
3 years ago
-
I changed the example from the repository description to provide infinite query retries until a successful answer:
```python
import asyncio
import aiodns
loop = asyncio.SelectorEventLoop()
reso…
-
I was investigating using this library. I've had Consul running and tried to run the asyncio example script from the docs by copying and pasting it into a file.
I expected it to run but if failed …
claws updated
4 years ago
-
I know it is not the first time it is posted here but still, I could not find a working solution.
My problem is that my application runs in CLI mode and doesn't react on ^C property. Here is an examp…
-
Hi,
In p3ch15/request_batching_server.py, there is a excellent code for asycnio. But I am gettting a memory leak there. The GPU memory is increasing regularly. The rate of memory increment is propor…
-
How to set the language type of the generated questions when creating a test set?
code:
```py
import nest_asyncio
nest_asyncio.apply()
from ragas.testset import TestsetGenerator
from ragas.tests…