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

feat: add aiops #4021

Closed
wants to merge 1 commit into from
Closed

feat: add aiops #4021

wants to merge 1 commit into from

Conversation

lifu963
Copy link

@lifu963 lifu963 commented Sep 29, 2023

  • ๐Ÿค– add release changelog using robot.

  • Update CHANGELOG.md


๐Ÿค– Generated by Copilot at 7f4f5b0

Summary

โœจ๐Ÿ“๐Ÿณ

This pull request adds a new AIops service to Sealos, which uses OpenAI to generate chat responses based on the user input and the message history. It also updates the changelog files for the v4.3.4 release. The AIops service consists of a Docker image, a Go module, a main program, and a README file. The controllers/aiops directory is added to the go.work file.

AIops service
New files for code and docs
Autumn of Sealos

Walkthrough

  • Add a new AIops service that uses OpenAI to generate chat responses based on the message history (link, link, link, link, link)
  • Define the Docker image for the service in controllers/aiops/Dockerfile (link)
  • Declare the module name and the dependencies in controllers/aiops/go.mod (link)
  • Implement the main logic in controllers/aiops/main.go (link)
  • Provide documentation in controllers/aiops/README.md (link)
  • Include the service directory in the workspace in go.work (link)
  • Update the changelog files to document the v4.3.4 release of Sealos (link, link)
    • Add a new file CHANGELOG/CHANGELOG-4.3.4.md with the release notes (link)
    • Reference the new file in CHANGELOG/CHANGELOG.md under the Changelog section (link)

* ๐Ÿค– add release changelog using robot.

Signed-off-by: sealos-release-robot <sealos-release-robot@sealos.io>

* Update CHANGELOG.md

---------

Signed-off-by: sealos-release-robot <sealos-release-robot@sealos.io>
Co-authored-by: cuisongliu <cuisongliu@qq.com>
@sealos-ci-robot
Copy link
Member

๐Ÿค– Generated by lychee action

Summary

Status Count
๐Ÿ” Total 979
โœ… Successful 400
โณ Timeouts 0
๐Ÿ”€ Redirected 0
๐Ÿ‘ป Excluded 578
โ“ Unknown 0
๐Ÿšซ Errors 0

Full action output

Full Github Actions output

@lifu963
Copy link
Author

lifu963 commented Sep 29, 2023 via email

@sealos-ci-robot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


This is the holiday automatic reply email from QQ mailbox.
โ€‹
Hello, I am currently on vacation and cannot reply to your email personally. I will reply to you as soon as possible after the vacation.

@cuisongliu cuisongliu changed the title docs: Automated Changelog Update for v4.3.4 (#4020) feat: add aiops Sep 29, 2023

```sh
curl -X POST -H "Content-Type: application/json" -d '{
"user_input": "่‡ชๅฎšไน‰ๅบ”็”จๅ็งฐ;้•œๅƒๅ็งฐ่ฎพ็ฝฎไธบ halohub/halo:2.5;CPU ๅ’Œๅญ˜ๅ‚จๅบ”ๆ นๆฎๅฎž้™…ๆƒ…ๅ†ต่ฟ›่กŒ้…็ฝฎ๏ผŒmemory ้œ€่ฆ 500Mi ็š„ๅ†…ๅญ˜ๆ‰่ƒฝๅฏๅŠจ Halo๏ผŒ่ฟ™้‡Œๅฏไปฅๅ‚่€ƒๅฎ˜ๆ–น prepare๏ผšhttps://docs.halo.run/getting-started/prepare;ๆšด้œฒ็ซฏๅฃๅบ”ไธบ 8090ใ€‚ๅŒๆ—ถ๏ผŒ่ฎพ็ฝฎไธบๅค–็ฝ‘่ฎฟ้—ฎๅฐ†่‡ชๅŠจไธบๅบ”็”จ้…็ฝฎไธ€ไธชๅ‡บๅฃๅŸŸๅ็”จไบŽๅค–็ฝ‘่ฎฟ้—ฎ๏ผŒๅŒๆ—ถ้œ€่ฆๅœจ Halo ไธญ่ฟ›่กŒ้…็ฝฎ่ฏฅๅœฐๅ€;็Žฏๅขƒๅ˜้‡ๅŒ…ๆ‹ฌๆ•ฐๆฎๅบ“้…็ฝฎๅ’Œๅ…ถไป–็›ธๅ…ณ้…็ฝฎใ€‚้œ€่ฆๆณจๆ„็š„ๆ˜ฏ๏ผŒไฝ ้œ€่ฆๆ นๆฎไฝ ๅœจ ๆญฅ้ชค 1 ไธญ่ฎพ็ฝฎ็š„็”จๆˆทๅใ€ๅฏ†็ ๅ’Œ DNS ๆฅ้…็ฝฎๆ•ฐๆฎๅบ“่ฟžๆŽฅไฟกๆฏใ€‚ๅŒๆ—ถ๏ผŒไฝ ่ฟ˜้œ€่ฆไธบ Halo ้…็ฝฎ่ถ…็บง็ฎก็†ๅ‘˜็š„็”จๆˆทๅๅ’Œๅฏ†็ ใ€‚;้…็ฝฎ Halo ็Žฏๅขƒๅ˜้‡:spring.sql.init.platform=postgresql spring.r2dbc.url=r2dbc:pool:postgresql://postgres:rcx7f47m@dbname-postgresql.ns-sy32q9p9.svc:5432/halo spring.r2dbc.username=postgres spring.r2dbc.password=rcx7f47m halo.external-url=tmtdvfjiyyfh.cloud.sealos.io halo.security.initializer.superadminusername=root halo.security.initializer.superadminpassword=sealos",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ๅฆ‚ๆžœ็”จๆˆท่ฟ™ๆ ทๅŽป็”จ่ฟ™ไธชไบงๅ“๏ผŒ้‚ฃๅ‡ ไนŽๆฏซๆ— ๆ„ไน‰๏ผŒ้™คไบ†ๅขžๅŠ ๅคๆ‚ๅบฆ๏ผŒไฝ ไผšๅ‘็Žฐ่ฟ˜ไธๅฆ‚็›ดๆŽฅๅœจ้กต้ขไธŠ็‚น่กจๅ•ๆ–นไพฟใ€‚

@fanux
Copy link
Member

fanux commented Oct 7, 2023

่ฟ™ไธชๅŠŸ่ƒฝๅฆ‚ๆžœ่ฟ™ๆ ทๅŽปๅšๆฒกๆœ‰ๅคชๅคงๆ„ไน‰๏ผŒไธๅฎž็”จ

@sealos-ci-robot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


If this function is implemented in this way, it will not make much sense and is not practical.

@codecov
Copy link

codecov bot commented Oct 7, 2023

Codecov Report

All modified lines are covered by tests โœ…

๐Ÿ“ข Thoughts on this report? Let us know!.

@fanux fanux closed this Oct 24, 2023
@lifu963
Copy link
Author

lifu963 commented Oct 24, 2023 via email

@sealos-ci-robot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. ๐Ÿ‘ฏ๐Ÿ‘ญ๐Ÿป๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘๐Ÿ‘ซ๐Ÿง‘๐Ÿฟโ€๐Ÿคโ€๐Ÿง‘๐Ÿป๐Ÿ‘ฉ๐Ÿพโ€๐Ÿคโ€๐Ÿ‘จ๐Ÿฟ๐Ÿ‘ฌ๐Ÿฟ


This is the holiday automatic reply email from QQ mailbox.
โ€‹
Hello, I am currently on vacation and cannot reply to your email personally. I will reply to you as soon as possible after the vacation.

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

Successfully merging this pull request may close these issues.

4 participants