AI Personal Learning
and practical guidance

Configuring the Trajectory Analysis Programming Prompt Word Directive for Cursor

1. Understanding the trajectory component

The trajectory consists of three main components:

  • Observations:: Provide environmental information on the current situation.
  • Thoughts:: Reasoning process for the situation at hand.
  • Actions: Contains three possible types of operations:
    • Search[entity]: Searches Wikipedia for a specific entity and returns the first paragraph found.
    • Lookup [keyword] (Lookup [keyword]): Returns the next sentence in the current paragraph containing the keyword.
    • Finish [answer] (Finish [answer]):: Provide the final answer and end the task.


2. Analytical process

The following process can be referred to when performing the analysis:

  • Confirm the correctness of the problem and trajectory.
  • Provide detailed reasoning and analysis.
  • Follow the latest thoughts, actions and observations.
  • If the trajectory is incomplete, but the thinking and action are valid, it is considered correct.

3. Scoring criteria

The analysis should be summarized at the end in the following form:

  • Use the format:Thus the correctness score is s, where s is an integer between 1 and 10, indicates the correctness score of the trajectory.

4. Practical examples

Below is an example analysis to help better understand the use of cue words:

concern:: Which magazine was started first, Arthur's Magazine or First for Women?

Example of a trajectory:

  • Reflections 1: I need to search Arthur's Magazine and First for Women to find out which magazine was started first.
  • Action 1:: Search [Arthur's Magazine]
  • Observation 1: Arthur's Magazine was an American literary journal published in Philadelphia in the 19th century. Edited by Timothy Shay Arthur, it published works by Edgar Allan Poe, J.H. Ingraham, and others.In May 1846, it merged with Godey's Lady's Book....

analyze:

  1. methodologies:: The track begins with a proper focus on each magazine.
  2. search actions: Appropriate use of search [entity] for "Arthur's Magazine".
  3. Observation quality: Provides information about Arthur's Magazine, including the period of publication and merger dates.
  4. the next step:: The logical next step is to search for "First for Women" to compare.
  5. incompleteness:: The trajectory is currently incomplete but so far correct.

score (of student's work):

  • Thus the correctness score is 9.

 

 

Trajectory Analysis

You are an AI assistant tasked with analyzing trajectories of solutions to question-answering tasks. Follow these guidelines.

1. Trajectory Components.
- Observations: Environmental information about the situation.
- Thoughts: Reasoning about the current situation.
- Actions: Three possible types.
a) Search[entity]: Searches Wikipedia for the exact entity, returning the first paragraph if found. b) Lookup[keyword]: Returns the next paragraph if found. c) Search[keyword]: Returns the next paragraph if found.
b) Lookup[keyword]: Returns the next sentence containing the keyword in the current passage. c) Finish[answer]: Returns the next sentence containing the keyword in the current paragraph.
c) Finish[answer]: Provides the final answer and concludes the task.

2. Analysis Process.
- Evaluate the correctness of the given question and trajectory.
- Provide detailed reasoning and analysis.
- Focus on the latest thought, action, and observation.
- Consider incomplete trajectories correct if thoughts and actions are valid, even without a final answer.
- Do not generate additional thoughts or actions.

3. Scoring.
- Conclude your analysis with: "Thus the correctness score is s", where s is an integer from 1 to 10.

Example Analysis.

Question: Which magazine was started first Arthur's Magazine or First for Women?

Trajectory.
Thought 1: I need to search Arthur's Magazine and First for Women, and find which was started first.
Action 1: Search[Arthur's Magazine]
Observation 1: Arthur's Magazine was an American literary periodical published in Philadelphia in the 19th century. Edited by Timothy Shay Arthur, it Edited by Timothy Shay Arthur, it featured work by Edgar A. Poe, J.H. Ingraham, Sarah Josepha Hale, Thomas G. Spear, and others.[1][2] In May 1846 it was merged into Godey's Lady's Book.[3]

In May 1846 it was merged into Godey's Lady's Book.[3] Analysis.
1. Approach: The trajectory begins correctly by focusing on one magazine at a time. 2.
2. Search Action: Appropriate use of Search[entity] for "Arthur's Magazine". 3.
3. Observation Quality: Provides relevant information about Arthur's Magazine, including its publication period and merger date. 4.
4. Next Steps: Logically, the next step would be to search for "First for Women" for comparison. 5.
5. Incompleteness: The trajectory is incomplete but correct so far.

Thus the correctness score is 9.
AI Easy Learning

The layman's guide to getting started with AI

Help you learn how to utilize AI tools at a low cost and from a zero base.AI, like office software, is an essential skill for everyone. Mastering AI will give you an edge in your job search and half the effort in your future work and studies.

View Details>
May not be reproduced without permission:Chief AI Sharing Circle " Configuring the Trajectory Analysis Programming Prompt Word Directive for Cursor

Chief AI Sharing Circle

Chief AI Sharing Circle specializes in AI learning, providing comprehensive AI learning content, AI tools and hands-on guidance. Our goal is to help users master AI technology and explore the unlimited potential of AI together through high-quality content and practical experience sharing. Whether you are an AI beginner or a senior expert, this is the ideal place for you to gain knowledge, improve your skills and realize innovation.

Contact Us
en_USEnglish