Skip to content

Subset of leetcode problems that can help cognee solve programming challenges

Notifications You must be signed in to change notification settings

topoteretes/leetcode-cognee-test

 
 

Repository files navigation

Continue dev + cognee RAG metrics

Setup

mitmproxy is a python package, so you can install it with pip:

pip install mitmproxy

Usage

To start mitmproxy, simply run:

mitmdump --mode reverse:http://localhost:11435 --flow-detail 4

This will start mitmproxy in reverse proxy mode, forwarding all incoming requests to localhost:11435. The --flow-detail 4 flag will print detailed information about each request and response.

Make sure to run mockserver before running mitmproxy.

To start mockserver, simply run:

pip install -r requirements.txt
python openapi_mock_server.py

It will store and write the manually made responses to the files. This way we obtain the context made by continue.dev

To evaluate the RAG metrics, run:

python rag_metrics.py

About

Subset of leetcode problems that can help cognee solve programming challenges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%