diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,9 @@ # noetic-llama -ROS Noetic Wrapper for ollama, allowing for function calling +`docker-compose` docker containers required for LCASTOR intent recognition and transcription with whisper. +Currently, `whisperwrapper` needs to be run outside of docker due to problems passing through the microphone, which is why it is symlinked here. -Given a python library [`capabilities`](/noetic-llama/src/ollamawrapper/src/capabilities) containing only functions, it inspects this library to generate an initial prompt to tell the +Given a python library `capabilities` containing only functions, it inspects this library to generate an initial prompt to tell the LLM the possible functions. Then, with a ROS service call, these functions are called: `rosrun ollamawrapper ollamawrapper` @@ -25,4 +26,3 @@ add(num1=0, num2=1): ## TODOs - [ ] Make a proper parser for the function calls returned by ollama instead of just using `exec()`, this will allow us to fetch the return value of the functions, and it's also much safer. A grammar has already been made, see [ollamafunctiongrammar.ppeg](/noetic-llama/src/ollamawrapper/src/ollamafunctiongrammar.ppeg), just need to finish the abstract syntax tree parsing (see [parser.py](/noetic-llama/src/ollamawrapper/src/parser.py)) - - [ ] Fix the docker container. I've been working in an Ubuntu 20.04 VM so far |