ax-llm/ax

Infinite loop with src/examples/chain-of-thought.ts

Closed this issue · 0 comments

gaku commented
  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    Infinite loop with src/examples/chain-of-thought.ts.

  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

I've ran the chain of thought example program (src/examples/chain-of-thought.ts) and the program fell into an infinite loop.
I guess it is not intended.

Answer:
- Paris
User: Invalid Field: The field `Answer` is invalid. Got value: `- Paris`, expected string
Assistant:
Reason: The context clearly states that Paris is the capital and most populous city of France. This information is directly provided in the first sentence of the context, making it straightforward to identify the capital.

Answer: Paris
User: Invalid Field: The field `Answer` is invalid. Got value: `Paris`, expected string
Assistant:
Reason: The context clearly states that Paris is the capital and most populous city of France. This information is directly provided in the first sentence of the context, making it straightforward to identify the capital.

Answer:
Paris
User: Invalid Field: The field `Answer` is invalid. Got value: `Paris`, expected string
Assistant:
Reason: The context clearly states that Paris is the capital and most populous city of France. This information is directly provided in the first sentence of the context, making it straightforward to identify the capital.

Answer: Paris
User: Invalid Field: The field `Answer` is invalid. Got value: `Paris`, expected string
Assistant:
Reason: The context clearly states that Paris is the capital and most populous city of France. This information is directly provided in the first sentence of the context, making it straightforward to identify the capital.

Answer:
- Paris
User: Invalid Field: The field `Answer` is invalid. Got value: `- Paris`, expected string
Assistant:
Reason: The context clearly states that Paris is the capital and most populous city of France. This information is directly provided in the first sentence of the context, making it straightforward to identify the capital.

Answer: Paris
User: Invalid Field: The field `Answer` is invalid. Got value: `Paris`, expected string
Assistant:
Reason: The context clearly states that Paris is the capital and most populous city of France. This information is directly provided in the first sentence of the context, making it straightforward to identify the capital.

Answer:
Paris
User: Invalid Field: The field `Answer` is invalid. Got value: `Paris`, expected string