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: slackbot code expert #823

Merged
merged 6 commits into from
Nov 6, 2024
Merged

Conversation

abhishekpatil4
Copy link
Contributor

@abhishekpatil4 abhishekpatil4 commented Nov 5, 2024

Important

Introduces a Slackbot for codebase queries using OpenAI and Composio, with code indexing, searching, and chat history management.

  • Behavior:
    • Introduces Slackbot that answers codebase questions using OpenAI and Composio tools.
    • Uses index_code() and find_code_snippet() in codebase_agent.py for code indexing and searching.
    • Handles Slack messages in main.py and sends responses back to Slack.
  • Database:
    • Implements ChatDB in db/main.py for managing chat history.
  • Configuration:
    • Adds .env.example for environment variables.
    • Adds requirements.txt for dependencies.
    • Provides setup.sh for environment setup.
  • Misc:
    • Adds .gitignore to exclude environment and cache files.
    • Includes README.md for project overview.

This description was created by Ellipsis for 359ce74. It will automatically update as commits are pushed.

Copy link

vercel bot commented Nov 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
composio ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 6:55am

Copy link

sweep-ai bot commented Nov 5, 2024

Hey @abhishekpatil4, here are examples of how you can ask me to improve this pull request:

@Sweep Fix the CI errors.
@Sweep Add unit tests for `index_code()` in `codebase_agent.py` to verify:
- Successful code indexing with different directory paths
- Handling of force indexing parameter
- Error cases like invalid directory

📖 For more information on how to use Sweep, please read our documentation.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to 359ce74 in 1 minute and 44 seconds

More details
  • Looked at 682 lines of code in 12 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_okPaNPlkqsxGJCdy


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

process=Process.sequential,
)

result = indexing_processing_crew.kickoff()
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider adding exception handling to manage potential errors during the indexing process.

process=Process.sequential,
)

result = search_processing_crew.kickoff()
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider adding exception handling to manage potential errors during the code search process.

Copy link

github-actions bot commented Nov 5, 2024

This comment was generated by github-actions[bot]!

JS SDK Coverage Report

📊 Coverage report for JS SDK can be found at the following URL:
https://pub-92e668239ab84bfd80ee07d61e9d2f40.r2.dev/coverage-11698650032/coverage/index.html

📁 Test report folder can be found at the following URL:
https://pub-92e668239ab84bfd80ee07d61e9d2f40.r2.dev/html-report-11698650032/html-report/report.html

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
@angrybayblade angrybayblade merged commit 4ffedde into master Nov 6, 2024
8 of 9 checks passed
@angrybayblade angrybayblade deleted the feat/slackbot-code-expert branch November 6, 2024 07:10
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

Successfully merging this pull request may close these issues.

3 participants