aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEden Attenborough <eddie.atten.ea29@gmail.com>2024-05-30 16:48:16 +0000
committerGitHub <noreply@github.com>2024-05-30 16:48:16 +0000
commit43ac0c81d0ff227ccb2cf377320b93b85ba701a7 (patch)
treeb933811fa48b99bfd4f2e3c811836c1b7c829a42
parent445e9286a893ed6c95ef9740914c7979d15f9915 (diff)
downloadnoetic-llama-43ac0c81d0ff227ccb2cf377320b93b85ba701a7.tar.gz
noetic-llama-43ac0c81d0ff227ccb2cf377320b93b85ba701a7.zip
Update README.md
-rw-r--r--README.md25
1 files changed, 8 insertions, 17 deletions
diff --git a/README.md b/README.md
index 333a7ac..2de1e71 100644
--- a/README.md
+++ b/README.md
@@ -7,29 +7,20 @@ If being run in a VM, set the whisper API url ROS parameter:
`rosparam set /stt/whisper_api_url 192.168.122.1:9000`
-If debugging, you might need to manually make the node transcribe:
+If being run on a separate PC to the host, you may need to set these parameters:
-`rostopic pub /stt/listening ollamamessages/WhisperListening "listening: True" -1`
+`export ROS_MASTER_URI=http://10.68.0.1:11311`
-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:
+`export ROS_IP=10.68.0.130`
-`rosrun ollamawrapper ollamawrapper`
+Obviously you should update the IP addresses with the appropirate ones as applicable.
-`rosservice call /ollama_wrapper "input: What the weather like in Seattle right now? What's 14 plus 217? What's 0 + 1?"`
+If debugging, you might need to manually make the node transcribe:
-Response:
+`rostopic pub /stt/listening ollamamessages/WhisperListening "listening: True" -1`
-```
-Recieved ollama request 'What the weather like in Seattle right now? What's 14 plus 217? What's 0 + 1?'
-get_weather_data(coordinates=get_coordinates_from_city(city_name='Seattle')):
-By 'Seattle' I am assuming you mean 'Seattle, WA'
-The current temperature is 0.100000°C with an outlook of 'Clear sky'
-add(num1=14, num2=217):
-14.000000 + 217.000000 = 231.000000
-add(num1=0, num2=1):
-0.000000 + 1.000000 = 1.000000
-```
+There is a bash script provided to start the whisper node, make sure you have compiled, sourced,
+and are in the correct directory first.
## TODOs