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

feat: add output-format option (md or json) and exporter of questions… #13

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Symbolk
Copy link

@Symbolk Symbolk commented Sep 17, 2024

… with codebase context

Example usage with the new json format:

export --output-dir "~/cursor-chat-export/data" --output-format json

Example output of md with context:

# Chat Transcript - Tab 1

## User:


[text]  
@Codebase Summarize this project


[context]
- README.md: 0.47
- packages/core/src/indexing/chunk/ChunkCodebaseIndex.ts: 0.46
- packages/core/src/context/providers/CodebaseContextProvider.ts: 0.45
- packages/core/src/indexing/CodeSnippetsIndex.ts: 0.45
- packages/core/src/indexing/CodebaseIndexer.ts: 0.44
- packages/core/src/indexing/FullTextSearchCodebaseIndex.ts: 0.42
- packages/core/src/indexing/TestCodebaseIndex.ts: 0.42
- packages/core/src/indexing/README.md: 0.4

Example output of json with context:

[
  {
    "user": {
      "text": "@Codebase Summarize this project",
      "context": [
        {
          "file": {
            "relativeWorkspacePath": "README.md"
          },
          "score": 0.46909475326538086
        },
        {
          "file": {
            "relativeWorkspacePath": "packages/core/src/indexing/chunk/ChunkCodebaseIndex.ts"
          },
          "score": 0.45642781257629395
        }
	  ]
	}
   },
  {
    "ai": {
      "model": "gpt-4o-mini",
      "text": ""
    }
  },
]

@proxseas
Copy link

proxseas commented Nov 2, 2024

This is a significant improvement.

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.

2 participants