Task_Analyzer (to chat_manager):

To search the web for a good restaurant and book a reservation for the Laker's jump off, you can use the following steps:

  1. Use the search_the_web function to find a suitable restaurant.
  2. Use the update_instructions function to update the individual instructions for the next state.
  3. Use the update_transitions function to update the transitions for the current state.
  4. Use the set_task_completed function to mark the current state as completed.

Here's an example implementation:

# Search for a restaurant
restaurant = search_the_web(query="Good restaurant for 5 people")

# Update the instructions for the next state
update_instructions(state_name="Book_Reservation", instructions=f"Book a reservation for {restaurant} for the Laker's jump off.")

# Update the transitions for the current state
update_transitions(state_name="Initial_Assessment", transitions={"Plan_Developed": "Book_Reservation"})

# Mark the current state as completed
set_task_completed(state_name="Initial_Assessment", completed=True)
Edit
Pub: 26 Nov 2023 08:11 UTC
Views: 92