Alexander Pushkov
Alexander Pushkov
Fails on Python 3, `NameError: name 'unicode' is not defined` :(
The error actually happens in [the `elif t is unicode`](https://github.com/westurner/better-bencode/blob/62d4d89c79588629546fd24df8d557d85f097d28/better_bencode/_pure.py#L66) line. We can safely substitute unicode for str (in py3k) here (as `unicode_to_bytes` accepts str in python 3), so I...
Also I think it would be nice to decode unicode strings to `unicode`/`str` as well (although it might be a bit trickier).
You can use a ConversationChain, but you won't be able to customize the prompt or use tools it seems. With LLMChain, I've almost managed to do a simple ChatGPT-style bot....
Tangential: I was able to get tools working if I drop conversation memory: [langflow-tools-without-memory.json](https://gist.githubusercontent.com/notpushkin/e35abba5b60ef4de34082d9950cf6753/raw/ce4fec3a925d52a64a96053800f1e8e2ce2336d9/langflow-tools-without-memory.json) Bad news: when I add any kind of memory to the mix, I get the following...
@frankjoshua I think that's what's going on in https://github.com/logspace-ai/langflow_examples? (e. g. [see PR](https://github.com/logspace-ai/langflow_examples/pull/2) directly above your comment) I think this examples repo needs some more visibility though.
Possible alternative: accept `resource` in the `/oidc/auth` endpoint (like Auth0 does: [GET /authorize](https://auth0.com/docs/api/authentication#authorize-application) – perhaps also rename it `audience` for interoperability?)
@wangsijie Sure! Here's an example: I'm using FastAPI on the backend and it provides automatic Swagger UI on the `/docs` endpoint, which is super useful for testing. I want to...
@simeng-li That does sound like a possible solution for a single API (doesn't work for multiple API endpoints though), but it didn't work for me when I tried it –...