Skip to content

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

  1. Benchmarking: Determine the minimum amount of instructions needed to get the desired output.
  2. Reinforcement: Provide more context and instructions to help the LLM understand the task.
  3. Clearing Memory: Clear the LLM's memory by running a prompt without the previous function as a reference.
  4. Using Examples: Provide an example of the desired function to help condition the LLM towards the correct output.
Clone this wiki locally