Find answers from the community

z
zensin
Offline, last seen 2 months ago
Joined September 25, 2024
maybe llama-index python package is wrapping libraries which cannot be automatically compiled to wasm?
1 comment
L
z
zensin
·

Py

I could use help getting py2wasm to compile. A simple test can be made by...

llama.py:
Plain Text
from llama_index.core.chat_engine.types import StreamingAgentChatResponse


and then: py2wasm -o llama.wasm llama.py

I think it's getting stuck compiling pillow. Not 100% sure about it. py2wasm was just recently forked from Nuitka by the wasmer ppl. This obviously isn't normal scope but it would be a great benefit to run llama-index in edge functions/workers.

https://wasmer.io/posts/py2wasm-a-python-to-wasm-compiler
1 comment
L
z
zensin
·

Tools

get_parameters_dict is problemmatic
10 comments
z
L
z
zensin
·

Tools

I don't see an example of it
1 comment
L
stupid discord character limit
6 comments
L
z
W
After doing OpenAIAgent.from_tools how to get a list of tools that have already been added, and add more without redefining the agent entirely?
32 comments
z
L
z
zensin
·

Classmethods

is FunctionTool.from_defaults() meant to be able to handle class methods? I tried to pass one to it and it hangs. For some reason I can't debug it either. No breakpoints work in it.
17 comments
L
z
anybody have a working oai async streaming chat? I am stuck by this https://github.com/run-llama/llama_index/issues/12180
17 comments
L
z