tailcall icon indicating copy to clipboard operation
tailcall copied to clipboard

LLM should also consider the field references for its name

Open tusharmath opened this issue 1 year ago • 2 comments

Currently the name suggested by the LLM for a type only considers the shape of the type. Update the prompt so that it also considers the name of the field where its referenced and the number of times its referenced.

Technical Requirements

  • Pick a sample generator configuration and compare before and after.
  • Try out different LLM models

Aditional References

  • Prompt needs to be adjusted in infer_type_name.rs

tusharmath avatar Aug 14 '24 13:08 tusharmath

/bounty 25$

tusharmath avatar Aug 14 '24 13:08 tusharmath

~~## 💎 $25 bounty • Tailcall Inc.~~

~~### Steps to solve:~~ ~~1. Start working: Comment /attempt #2691 with your implementation plan~~ ~~2. Submit work: Create a pull request including /claim #2691 in the PR body to claim the bounty~~ ~~3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts~~

~~🙏 Thank you for contributing to tailcallhq/tailcall!~~ ~~🧐 Checkout our guidelines before you get started.~~ ~~💵 More about our bounty program.~~

algora-pbc[bot] avatar Aug 14 '24 13:08 algora-pbc[bot]

Action required: Issue inactive for 30 days. Status update or closure in 7 days.

github-actions[bot] avatar Oct 18 '24 20:10 github-actions[bot]

Issue closed after 7 days of inactivity.

github-actions[bot] avatar Oct 25 '24 21:10 github-actions[bot]