-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add FalkorDB support #2774
Add FalkorDB support #2774
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
@@ -0,0 +1,18 @@ | |||
/* eslint-disable no-process-env */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is flagging the addition of code that accesses an environment variable via process.env
in the falkordb_graph.int.test.ts
file for maintainers to review.
Looks broadly reasonable - feel free to mark out of draft. Don't forget to run Might be good to coordinate the base class with Python as well? CC @baskaryan |
@jacoblee93 formatted the code |
Co-authored-by: Jacob Lee <[email protected]>
…tent (langchain-ai#6920) Co-authored-by: Jacob Lee <[email protected]>
Co-authored-by: jacoblee93 <[email protected]>
Co-authored-by: Brace Sproul <[email protected]>
Co-authored-by: jacoblee93 <[email protected]>
) Co-authored-by: bracesproul <[email protected]>
Co-authored-by: Jacob Lee <[email protected]>
…ai#7322) Co-authored-by: Jacob Lee <[email protected]>
…#7329) Co-authored-by: jacoblee93 <[email protected]>
Co-authored-by: jacoblee93 <[email protected]>
const typedocPath = path.join(entrypointDir, "typedoc.json"); | ||
|
||
if (!fs.existsSync(typedocPath)) { | ||
fs.writeFileSync(typedocPath, "{}\n"); |
Check failure
Code scanning / CodeQL
Potential file system race condition
|
||
// Check if the `./typedoc.json` file exists, since it is gitignored by default | ||
if (!fs.existsSync("./typedoc.json")) { | ||
fs.writeFileSync("./typedoc.json", "{}\n"); |
Check failure
Code scanning / CodeQL
Potential file system race condition
content = content | ||
.replace(IGNORED_CELL_REGEX, "") | ||
.replace(LC_TS_IGNORE_REGEX, ""); | ||
fs.writeFileSync(renamedFilepath, content); |
Check failure
Code scanning / CodeQL
Potential file system race condition
import { TaskadeProjectLoader } from "@langchain/community/document_loaders/web/taskade"; | ||
|
||
const loader = new TaskadeProjectLoader({ | ||
personalAccessToken: "TASKADE_PERSONAL_ACCESS_TOKEN", // or load it from process.env.TASKADE_PERSONAL_ACCESS_TOKEN |
Check failure
Code scanning / CodeQL
Hard-coded credentials
options: { | ||
timeout: 10000, | ||
headers: { | ||
Authorization: "Bearer YOUR_TOKEN", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
type: "postgres", | ||
host: "127.0.0.1", | ||
port: 5432, | ||
user: "myuser", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
const reusablePool = new pg.Pool({ | ||
host: "127.0.0.1", | ||
port: 5433, | ||
user: "myuser", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
const poolConfig = { | ||
host: "127.0.0.1", | ||
port: 5432, | ||
user: "myuser", |
Check failure
Code scanning / CodeQL
Hard-coded credentials
Replaced with #7367 |
Adding FalkorDB Graph store support
Ref to: #2741