graphiti icon indicating copy to clipboard operation
graphiti copied to clipboard

fix: add prefix in app service

Open qtencent7 opened this issue 7 months ago • 2 comments

in main.py of the server folder, the code of setting code looks like this: image i think it will be more friendly for rest api if we add route prefix. i add something like this. image


[!IMPORTANT] Add route prefixes /retrieve and /ingest to routers in main.py for REST-friendly API.

  • Routing:
    • Add route prefix /retrieve to retrieve.router in main.py.
    • Add route prefix /ingest to ingest.router in main.py.

This description was created by Ellipsis for aa2fb5fa01260eb35af17d164b79583e37f211b6. You can customize this summary. It will automatically update as commits are pushed.

qtencent7 avatar May 21 '25 08:05 qtencent7


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


jasontu seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

danielchalef avatar May 21 '25 08:05 danielchalef

I have read the CLA Document and I hereby sign the CLA

qtencent7 avatar May 21 '25 08:05 qtencent7