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

ChatGPT works in one sink and it doesn't work in another #26

Open
Bobses opened this issue May 8, 2024 · 1 comment
Open

ChatGPT works in one sink and it doesn't work in another #26

Bobses opened this issue May 8, 2024 · 1 comment

Comments

@Bobses
Copy link

Bobses commented May 8, 2024

I set up the second Slack channel (pd-alerts), where are sent only alerts from the apps namespace. I receive the alerts from the desired namespace there, but the AskChatGPT button doesn't work (nothing happens). At the same time, in the main sink (the first Slack channel), I can use ChatGPT.
This behavior is strange: ChatGPT works in one sink and it doesn't work in another.

This is my configuration:

sinksConfig:
- slack_sink:
    name: main_slack_sink
    slack_channel: robusta-test
    api_key: rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
- slack_sink:
    name: pd_slack_sink
    slack_channel: pd-alerts
    api_key: rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr    
    scope:
      include:
        - namespace: apps
@Bobses
Copy link
Author

Bobses commented May 8, 2024

The issue was solved by @arikalon1 - the second sink has a scope, but the ChatGPT output doesn’t contain the namespace apps so it’s excluded.

The proper configuration for the second sink is:

scope:
  include:
    - namespace: apps
    - identifier: "ChatGPT Wisdom"

Everything works fine now.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant