run-llama / llama-hub

A library of data loaders for LLMs made by the community -- to be used with LlamaIndex and/or LangChain
https://llamahub.ai/
MIT License
3.44k stars 731 forks source link

Slack Tool: Fix "fn_schema is None" issue #824

Closed tslmy closed 8 months ago

tslmy commented 8 months ago

Description

All 3 functions were missing schema. This PR adds them.

Fixes https://github.com/run-llama/llama_index/issues/9732

Type of Change

Please delete options that are not relevant.

How Has This Been Tested?

I tested with a LlamaIndex + ChainLit + GPT 3.5 application running locally. As shown below, the LLM can now call the function without complaining ValueError: fn_schema is None.

before after
before after

Suggested Checklist: