-
Notifications
You must be signed in to change notification settings - Fork 39
Debugging AnyNode through Prompting
LK Studio edited this page Jun 12, 2024
·
2 revisions
Troubleshooting LLMs: Getting the Desired Output
AnyNode-Memory-Reset.mp4
When dealing with LLMs that don't code as expected, there are several strategies to help you get the desired function output.
1. Benchmarking and Reinforcement
- Benchmarking: Determine the minimum amount of instructions needed to get the desired output.
- Reinforcement: Provide more context and instructions to help the LLM understand the task.
2. Clearing Memory
- If the LLM is stuck, clear its memory by running a prompt without the previous function as a reference.
3. Using Examples
- If the LLM struggles to understand the task, provide an example of the desired function to help condition it towards the correct output.
Benchmarking and Reinforcement
- Determine the minimum amount of instructions needed to get the desired output.
- Provide more context and instructions to help the LLM understand the task.
Clearing Memory
- If the LLM is stuck, clear its memory by running a prompt without the previous function as a reference.
Using Examples
- If the LLM struggles to understand the task, provide an example of the desired function to help condition it towards the correct output.
Strategies for Troubleshooting LLMs
- Benchmarking: Determine the minimum amount of instructions needed to get the desired output.
- Reinforcement: Provide more context and instructions to help the LLM understand the task.
- Clearing Memory: Clear the LLM's memory by running a prompt without the previous function as a reference.
- Using Examples: Provide an example of the desired function to help condition the LLM towards the correct output.