PLangHQ / plang

The code repository from plang programming language
GNU Lesser General Public License v2.1
51 stars 5 forks source link

Improve validation of returning function call from LLM #56

Open ingig opened 1 month ago

ingig commented 1 month ago

Currently only primaries, List, Dictionary<string, object> is used when defining returning scheme from llm. This makes it hard to validate the response 100% on list and dictionary.

The request should support typed lists and dictionaries. This will allow for 100% validation of the response. This will also allow for typed objects to be sent as parameter in methods, which will open for other possibilities, see #48