diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2024-05-10 10:41:38 +0000 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2024-05-10 10:41:38 +0000 |
commit | 2883b62be3fdcd068f1616852df926dff8c02e3f (patch) | |
tree | fe786f41f7aeddf0c0caf3c4f8438572f4ad4e6a /README.md | |
parent | 6fad05fd24409e6f1a4b677fbac3d512051de7a0 (diff) | |
download | noetic-llama-2883b62be3fdcd068f1616852df926dff8c02e3f.tar.gz noetic-llama-2883b62be3fdcd068f1616852df926dff8c02e3f.zip |
Updated README.md
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 |