ASK-03 / Reverse-Chain

Implementation of paper - Reverse Chain: A Generic-Rule for LLMs to Master Multi-API Planning (https://arxiv.org/abs/2310.04474v2)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improvement #1: Improve the prompts in the modules

ASK-03 opened this issue · comments

Description

The prompts in the modules ArgumentExtractor, FinalAPISelector, SubAPISelector, Planner (modules are in order of priority of need of change) are ambiguous and can be made better to optimize the output from the LLM.

Expected Behaviour

Output from LLMs is non-deterministic but can be made better using prompt engineering, provide better prompts to increase the performance of the modules.

Checkpoints:

  • Define the json object that LLM should return precisely in the prompt
  • Define all the cases mentioned in the prompt and add new cases that are necessary

Checklist

  • ArgumentExtractor
  • FinalAPISelector
  • SubAPISelector
  • Planner