Skip to content
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

Feature/eliza introspector develop #40

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

jmikedupont2
Copy link
Member

@jmikedupont2 jmikedupont2 commented Mar 9, 2025

This pr sends the results of the jsdoc into eliza memories

@jmikedupont2
Copy link
Member Author

jmikedupont2 commented Mar 11, 2025

SELECT 
    content,
    GROUP_CONCAT(id) AS ids,
    COUNT(*) AS duplicate_count
FROM 
    memories
GROUP BY 
    content
HAVING 
    COUNT(*) > 1
ORDER BY 
    duplicate_count DESC;
SELECT     content,    GROUP_CONCAT(id) AS ids,     COUNT(*) AS duplicate_count FROM     memories  GROUP BY     content HAVING     COUNT(*) > 1 ORDER BY     duplicate_count DESC; 
{"text":"Generate documentation for the following Evaluator:\n                    ```typescript\n                    import { composeContext } from \"@elizaos/core\";\nimport { generateText } from \"@elizaos/core\";\nimport { getGoals } from \"@elizaos/core\";\nimport { parseJsonArrayFromText } from \"@elizaos/core\";\nimport {\n    type IAgentRuntime,\n    type Memory,\n    ModelClass,\n    type Objective,\n// ... remaining code truncated ...\n```\n// ... truncated [-4836 lines] ...\n\n// ... truncated ...\n```typescript\n                    import { composeContext } from \"@elizaos/core\";\nimport { generateText } from \"@elizaos/core\";\nimport { getGoals } from \"@elizaos/core\";\nimport { parseJsonArrayFromText } from \"@elizaos/core\";\nimport {\n    type IAgentRuntime,\n    type Memory,\n    ModelClass,\n    type Objective,\n// ... remaining code truncated ...\n```\n\n                    Provide an overview of the evaluator's purpose and functionality.\n\n                    Format in markdown without adding any additional headers."}|338
{"text":"Generate documentation for the following Evaluator:\n                    ```typescript\n                    import { composeContext } from \"@elizaos/core\";\nimport { generateObjectArray } from \"@elizaos/core\";\nimport { MemoryManager } from \"@elizaos/core\";\nimport {\n    type ActionExample,\n    type IAgentRuntime,\n    type Memory,\n    ModelClass,\n    type Evaluator,\n// ... remaining code truncated ...\n```\n// ... truncated [-4904 lines] ...\n\n// ... truncated ...\n```typescript\n                    import { composeContext } from \"@elizaos/core\";\nimport { generateObjectArray } from \"@elizaos/core\";\nimport { MemoryManager } from \"@elizaos/core\";\nimport {\n    type ActionExample,\n    type IAgentRuntime,\n    type Memory,\n    ModelClass,\n    type Evaluator,\n// ... remaining code truncated ...\n```\n\n                    Provide an overview of the evaluator's purpose and functionality.\n\n                    Format in markdown without adding any additional headers."}|338
{"text":"Generate configuration documentation based on these environment variable usages:\n        \n        Create comprehensive configuration documentation that:\n        1. Lists all required environment variables and their purpose\n        2. Return a full .env example file\n\n        Inform the user that the configuration is done in the .env file.\n        And to ensure the .env is set in the .gitignore file so it is not committed to the repository.\n\n        Format the response in markdown with proper headings and code blocks."}|

eg 338 times

@jmikedupont2
Copy link
Member Author

sqlite> select duplicate_count,count(*) from (SELECT 
    COUNT(*) AS duplicate_count
FROM 
    memories
GROUP BY 
    content
HAVING 
    COUNT(*) > 1
ORDER BY 
    duplicate_count DESC) group by duplicate_count;
Runtime error: database is locked (5)
sqlite> 
sqlite> select duplicate_count,count(*) from (SELECT 
    COUNT(*) AS duplicate_count
FROM 
    memories
GROUP BY 
    content
HAVING 
    COUNT(*) > 1
ORDER BY 
    duplicate_count DESC) group by duplicate_count;
643|12
644|3

@jmikedupont2
Copy link
Member Author

in fact it seems like we got only duplicates

SELECT 
    COUNT(*) AS duplicate_count
FROM 
    memories
GROUP BY 
    content;
716
716
716
718
718
717
716
716
716
716
716
716
716
716
716
sqlite> 

mike dupont added 3 commits March 11, 2025 14:06
now getting to the api fail

working

wip

update

wip

wip

wip

now runs all the way

wip

wip

(IS) now building

now compiles

wip

now the memory manager is being loaded

wip

update

running in ts

scan

update

wip local git starting to load

now running

removing duplicates
@jmikedupont2 jmikedupont2 force-pushed the feature/eliza-introspector-develop branch from d0924a8 to ed41360 Compare March 11, 2025 20:57
mike dupont and others added 6 commits March 11, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant