llmap icon indicating copy to clipboard operation
llmap copied to clipboard

How to improve for .json files?

Open hellno opened this issue 10 months ago • 2 comments

Hi, love this tool!

I want to use it to select files from my local docs. It's basically a list of endpoints in an API that I got from breaking down an OpenAPI file.

Do you recommend any changes in the code to make this work? Anything that I can simplify or adjust because it's API docs and not code?

Happy to open a PR for any of this :) Thank you!

hellno avatar Feb 13 '25 20:02 hellno

Example of a json file content:

{"metadata": {"tag": "Action", "tag_number": 0, "doc_number": 222, "operation_id": "publish-farcaster-action", "doc_url": "https://api.neynar.com/v2/farcaster/publish-farcaster-action", "server_url": "https://api.neynar.com/v2/farcaster/action"}, "content": "path /farcaster/action operationId publishfarcasteraction summary User actions across apps description Securely communicate and perform actions on behalf of users across different apps It enables an app to send data or trigger actions in another app on behalf of a mutual user by signing messages using the users Farcaster signer requestBody required True FarcasterActionReqBody type object required signeruuid baseurl action properties signeruuid type string format uuid description The signeruuid of the user on behalf of whom the action is being performed examples 123e4567e89b12d3a456426614174000 baseurl type string format uri description The base URL of the app on which the action is being performed examples https//examplecom action type object required type properties type type string description The type of action being performed examples createuser payload description The payload of the action being performed type object responses 200 description successful operation schema type object additionalProperties True"}

hellno avatar Feb 13 '25 20:02 hellno

Hi there! What would your ideal solution look like?

jbellis avatar Feb 14 '25 01:02 jbellis