Skip to content

Commit ee647ae

Browse files
author
Ali Yazdizadeh
committed
add the rag post
1 parent 89714ec commit ee647ae

138 files changed

Lines changed: 28614 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CodeGraphRAG/.env.example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
AWS_ACCESS_KEY_ID="###"
2+
AWS_SECRET_ACCESS_KEY="###"
3+
AWS_SESSION_TOKEN="###"
4+
AWS_DEFAULT_REGION="us-east-1"
5+
NEO4J_USERNAME="###"
6+
NEO4J_PASSWORD="###"
7+
NEO4J_URL="###"
8+
BEDROCK_KB_ID="###"

CodeGraphRAG/.gitingnore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.env

CodeGraphRAG/CodeGraphRAG.ipynb

Lines changed: 1055 additions & 0 deletions
Large diffs are not rendered by default.

CodeGraphRAG/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Comparing RAG on a Code dataset using Vector Search and KnowledgeGraph Search
2+
3+
Check the companion blog post for more info.
4+
5+
## Usage
6+
7+
```
8+
uv pip install -r requirements.txt
9+
```

CodeGraphRAG/pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[project]
2+
name = "final"
3+
version = "0.1.0"
4+
description = "Add your description here"
5+
readme = "README.md"
6+
requires-python = ">=3.13"
7+
dependencies = []
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
omit = requests/packages/*
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# You can configure git to automatically use this file with the following config:
2+
# git config --global blame.ignoreRevsFile .git-blame-ignore-revs
3+
4+
# Add automatic code formatting to Requests
5+
2a6f290bc09324406708a4d404a88a45d848ddf9
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Treat each other well
2+
3+
Everyone participating in the _requests_ project, and in particular in the issue tracker,
4+
pull requests, and social media activity, is expected to treat other people with respect
5+
and more generally to follow the guidelines articulated in the
6+
[Python Community Code of Conduct](https://www.python.org/psf/codeofconduct/).
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Contribution Guidelines
2+
3+
Before opening any issues or proposing any pull requests, please read
4+
our [Contributor's Guide](https://requests.readthedocs.io/en/latest/dev/contributing/).
5+
6+
To get the greatest chance of helpful responses, please also observe the
7+
following additional notes.
8+
9+
## Questions
10+
11+
The GitHub issue tracker is for *bug reports* and *feature requests*. Please do
12+
not use it to ask questions about how to use Requests. These questions should
13+
instead be directed to [Stack Overflow](https://stackoverflow.com/). Make sure
14+
that your question is tagged with the `python-requests` tag when asking it on
15+
Stack Overflow, to ensure that it is answered promptly and accurately.
16+
17+
## Good Bug Reports
18+
19+
Please be aware of the following things when filing bug reports:
20+
21+
1. Avoid raising duplicate issues. *Please* use the GitHub issue search feature
22+
to check whether your bug report or feature request has been mentioned in
23+
the past. Duplicate bug reports and feature requests are a huge maintenance
24+
burden on the limited resources of the project. If it is clear from your
25+
report that you would have struggled to find the original, that's ok, but
26+
if searching for a selection of words in your issue title would have found
27+
the duplicate then the issue will likely be closed extremely abruptly.
28+
2. When filing bug reports about exceptions or tracebacks, please include the
29+
*complete* traceback. Partial tracebacks, or just the exception text, are
30+
not helpful. Issues that do not contain complete tracebacks may be closed
31+
without warning.
32+
3. Make sure you provide a suitable amount of information to work with. This
33+
means you should provide:
34+
35+
- Guidance on **how to reproduce the issue**. Ideally, this should be a
36+
*small* code sample that can be run immediately by the maintainers.
37+
Failing that, let us know what you're doing, how often it happens, what
38+
environment you're using, etc. Be thorough: it prevents us needing to ask
39+
further questions.
40+
- Tell us **what you expected to happen**. When we run your example code,
41+
what are we expecting to happen? What does "success" look like for your
42+
code?
43+
- Tell us **what actually happens**. It's not helpful for you to say "it
44+
doesn't work" or "it fails". Tell us *how* it fails: do you get an
45+
exception? A hang? A non-200 status code? How was the actual result
46+
different from your expected result?
47+
- Tell us **what version of Requests you're using**, and
48+
**how you installed it**. Different versions of Requests behave
49+
differently and have different bugs, and some distributors of Requests
50+
ship patches on top of the code we supply.
51+
52+
If you do not provide all of these things, it will take us much longer to
53+
fix your problem. If we ask you to clarify these and you never respond, we
54+
will close your issue without fixing it.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
custom: ['https://www.python.org/psf/sponsorship/']

0 commit comments

Comments
 (0)