-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
363ab95
commit c58b503
Showing
19 changed files
with
188 additions
and
175 deletions.
There are no files selected for viewing
8 changes: 2 additions & 6 deletions
8
examples/agents/readme-writer-agent/baseai/memory/code-files/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
import {MemoryI} from '@baseai/core'; | ||
import path from 'path'; | ||
|
||
const memoryCodeFiles = (): MemoryI => ({ | ||
name: 'code-files', | ||
description: 'Memory that contains project files', | ||
config: { | ||
useGitRepo: false, | ||
dirToTrack: path.posix.join('.'), | ||
extToTrack: ['*'], | ||
}, | ||
useGit: false, | ||
include: ['documents/**/*'], | ||
}); | ||
|
||
export default memoryCodeFiles; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
import { MemoryI } from '@baseai/core'; | ||
import {MemoryI} from '@baseai/core'; | ||
|
||
const memoryChatWithRepo = (): MemoryI => ({ | ||
name: 'chat-with-repo', | ||
description: '', | ||
config: { | ||
useGitRepo: true, | ||
include: './examples', | ||
extensions: ['*'], | ||
} | ||
name: 'chat-with-repo', | ||
description: '', | ||
useGit: true, | ||
include: ['examples/**/*'], | ||
gitignore: true, | ||
}); | ||
|
||
export default memoryChatWithRepo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,11 +17,11 @@ | |
"author": "Ahmad Awais <[email protected]> (https://twitter.com/MrAhmadAwais)", | ||
"license": "UNLICENSED", | ||
"dependencies": { | ||
"@baseai/core": "workspace:*", | ||
"@baseai/core": "^0.9.25", | ||
"dotenv": "^16.4.5" | ||
}, | ||
"devDependencies": { | ||
"baseai": "workspace:*", | ||
"baseai": "^0.9.25", | ||
"tsx": "^4.19.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.