2 ms·
What's so special about this other than poisoning straightforward python code with async/await? Claude message API already accepts a tools=[] parameter. All yo
by nurettin 2y ago
What's so special about this other than poisoning straightforward python code with async/await?
Claude message API already accepts a tools=[] parameter. All you need is a json schema of your python class and docs which you can easily generate with a few dozen lines of code.
Then just call whatever the LLM outputs like getattr(instance, result["name"])( **result["kwargs"]) and your computer is controlled by AI congratulations.