nsbradford / SemanticSearch

Minimal RAG (Retrieval Augmented Generation) website with Pinecone, FastAPI, NextJS, MongoDB
https://semantic-search-six.vercel.app
9 stars 3 forks source link

coderabbit.ai config #40

Closed nsbradford closed 1 year ago

nsbradford commented 1 year ago

Summary by CodeRabbit

vercel[bot] commented 1 year ago

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

Name Status Preview Comments Updated (UTC)
semantic-search-mini ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 26, 2023 0:49am
nsbradford commented 1 year ago

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

sweep-ai[bot] commented 1 year ago

Apply Sweep Rules to your PR?

nsbradford commented 1 year ago

@coderabbitai review

coderabbitai[bot] commented 1 year ago

Walkthrough

This pull request introduces a GitHub Actions workflow for automated code review and modifies the hash_sha256 function in backend/utils.py to generate a random 100-bit number instead of a SHA256 hash.

Changes

File Summary
.github/workflows/ai-pr-reviewer.yml Adds a GitHub Actions workflow for code review. The workflow is triggered on pull request creation and review comment creation. It uses the "coderabbitai/ai-pr-reviewer" action with specific environment variables and configuration options.
backend/utils.py Changes the hash_sha256 function to generate a random 100-bit number as a string instead of computing the SHA256 hash of the input string. The hash_bytes function remains unchanged.

🐇

In the land of code, where the shadows lie,

A rabbit hops, its gaze held high.

With each leap, a change is made,

In the realm of bits, where nothing does fade.

A new workflow born, a function reborn,

In the heart of the code, a new dawn is sworn. 🌅


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai help` to get help. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.json`
nsbradford commented 1 year ago

https://github.com/coderabbitai review

nsbradford commented 1 year ago

@coderabbitai review