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

[Security Solution] Some OSS LLMs do not respond well and return corrupted output #204261

Open
e40pud opened this issue Dec 13, 2024 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. triage_needed

Comments

@e40pud
Copy link
Contributor

e40pud commented Dec 13, 2024

This issue was discovered during testing of this PR:

For some reason llama3.2:latest returns a weird answer. Maybe our prompts do not work well with that model?

When I send simple hello, it returns a next response:

{
  "action": "Final Answer",
  "action_input": {
    "query": "hello"
  }
}

which then being converted into "[object Object]" as an output result.

Here is the example of such a behaviour https://smith.langchain.com/o/b739bf24-7ba4-4994-b632-65dd677ac74e/projects/p/b9ebe1df-f5ad-4c26-bc57-e5e65994b91e?timeModel=%7B%22duration%22%3A%227d%22%7D&runtab=0&peek=5f3962c7-18fa-46de-9be6-57f56f8760e4

Note

llama:3.1 works well.

@e40pud e40pud added bug Fixes for quality problems that affect the customer experience Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. Team:Security Generative AI Security Generative AI triage_needed labels Dec 13, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. triage_needed
Projects
None yet
Development

No branches or pull requests

2 participants