Table 2 Prompts, completions, and command parsing.
From: An integrating RAG-LLM and deep Q-network framework for intelligent fish control systems
Prompt | RAG-LLM response | Parsed command |
|---|---|---|
“In fish cultivation of Oreochromis niloticus, what shall I do if the water quality parameters are pH=5, \(\hbox {temperature=15.5}^{\circ }\)C, and ammonia=1 ppm. Be concise and parse only the actions I have to do.” | Adjust pH: Increase the pH to 6–9, optimal being 7–8. You can use limestone or sodium bicarbonate to raise the pH. | Increase the pH” \(\Rightarrow\) Alkaline addition = Yes, Sodium bicarbonate valve = ON until pH is within 7–8. |
Regulate Temperature: Increase the water temperature to 26–30 °C, which is ideal for Nile tilapia. Use water heaters or adjust environmental conditions to achieve this. | Increase the water temperature to 26–30 °C C” \(\Rightarrow\) Turn the heater ON until the temperature is within 26–30 °C. | |
Reduce Ammonia Levels: Lower the ammonia level to less than 0.5 ppm. This can be achieved by improving filtration, increasing water aeration, and reducing fish density or feeding rates. Regular water changes are also effective. | Lower the ammonia level to less than 0.5 ppm” \(\Rightarrow\) Turn on the water exchange and filtration, then adjust the feeding rate. |