Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] duplicated last trace interaction in the memory #1972

Closed
jngz-es opened this issue Jan 31, 2024 · 0 comments
Closed

[BUG] duplicated last trace interaction in the memory #1972

jngz-es opened this issue Jan 31, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jngz-es
Copy link
Collaborator

jngz-es commented Jan 31, 2024

What is the bug?
Conversational agent creates a duplicated last trace interaction in the memory for every question.

An example,

GET /_plugins/_ml/memory/message/a9W4XI0BS7ZuQOvZJ8pt/traces

// The response
{
  "traces": [
    ......,
    {
      "memory_id": "atW4XI0BS7ZuQOvZJ8ph",
      "message_id": "ctW4XI0BS7ZuQOvZcsoL",
      "create_time": "2024-01-30T23:33:28.202188Z",
      "input": "how many index I have?",
      "prompt_template": null,
      "response": "Unfortunately, without access to the tools, I do not have enough information to determine the number of indexes you currently have.",
      "origin": null,
      "additional_info": {},
      "parent_message_id": "a9W4XI0BS7ZuQOvZJ8pt",
      "trace_number": 8
    },
    {
      "memory_id": "atW4XI0BS7ZuQOvZJ8ph",
      "message_id": "dNW4XI0BS7ZuQOvZcsoL",
      "create_time": "2024-01-30T23:33:28.202477Z",
      "input": "how many index I have?",
      "prompt_template": null,
      "response": "Unfortunately, without access to the tools, I do not have enough information to determine the number of indexes you currently have.",
      "origin": null,
      "additional_info": {},
      "parent_message_id": "a9W4XI0BS7ZuQOvZJ8pt",
      "trace_number": 9
    }
  ]
}

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. create a coversational agent.
  2. execute the agent.

What is the expected behavior?
A duplicated last trace in the memory.

What is your host/environment?

  • OS: [linux]
  • Version []
  • Plugins

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Do you have any additional context?
Add any other context about the problem.

@jngz-es jngz-es added the bug Something isn't working label Jan 31, 2024
@jngz-es jngz-es self-assigned this Jan 31, 2024
@jngz-es jngz-es mentioned this issue Jan 31, 2024
5 tasks
@jngz-es jngz-es removed the untriaged label Jan 31, 2024
@jngz-es jngz-es closed this as completed Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant