Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Wikipedia tool in WASM #252

Open
marcusschiesser opened this issue Aug 26, 2024 · 1 comment
Open

Write Wikipedia tool in WASM #252

marcusschiesser opened this issue Aug 26, 2024 · 1 comment
Assignees

Comments

@marcusschiesser
Copy link
Collaborator

Context

WASM would be a great technology for writing the same LLM tool once and using it in Python and TS.

However, the problem is that even a simple HTTP fetch is not standardized among WASM runtimes. This would be the minimum requirement for a runtime running LLM tools (tools usually do API calls).

Status

LlamaIndexTS can already use WASM tools; see https://github.com/run-llama/LlamaIndexTS/blob/main/packages/wasm-tools/README.md

Options

How can we do an HTTP fetch?

Extism looks more mature. (August 2024)

Next step

Try extism to implement a Wikipedia tool

@thucpn
Copy link
Collaborator

thucpn commented Aug 29, 2024

Extism is very cool for JS and Python. I can:

Just one problem, their python-sdk hasn't support using the http plugin. I submit an issue here to ask them:
extism/python-sdk#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Blocked
Development

No branches or pull requests

2 participants