File tree Expand file tree Collapse file tree
packages/plugin-data-enrich/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ coverage
6767.eslintcache
6868
6969agent /content
70+ agent /xuserlabels.json
71+ packages /plugin-data-enrich /data
7072
7173eliza.manifest
7274eliza.manifest.sgx
Original file line number Diff line number Diff line change @@ -89,9 +89,10 @@ export const socialProvider: Provider = {
8989}
9090
9191const ABSTRACTOR_INSTRUCTION = `
92- Please summary the user information by the provided biography and post tweets.
92+ Please summary the twitter account information by the provided biography and post tweets.
9393 The total words count should be between 20 and 30.
94- If the user is not related to web3 or crypto, just return "The user is not related to Web3".` ;
94+ The summary result should not contain the words 'user'/'account', use their original names instead.
95+ If the account is not related to web3 or crypto, just return "The item is not related to Web3".` ;
9596
9697const TW_ABSTRACTOR_PREFIX : string = "ABSTRACTOR_KEY_TW_PROFILE_PREFIX_" ;
9798const TW_ABSTRACTOR_POST_COUNT = 20 ;
@@ -159,7 +160,7 @@ export class twitterDataProvider {
159160 } ) ;
160161 //console.log(response);
161162 summary = response ;
162- if ( response && response . includes ( "The user is not related to Web3" ) ) {
163+ if ( response && response . includes ( "The item is not related to Web3" ) ) {
163164 summary = "" ;
164165 }
165166 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments