microsoft / microsoft/Power-Fx
Implement AI disclaimer in intellisense.
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 3.4k
- Forks
- 358
- Avg merge
- 10h 34m
- Merged PRs (30d)
- 3
Description
For AI functions, like AISummarize, formula bar needs to include a disclaimer in the summary.
This means:
- LSP needs to send rich markdown to UFB for a function's description. This can be prepending a disclaimer to existing function summary. See #2099 for a POC on how to do this. UFB already knows how to display it.
- LSP needs to know when to show the disclaimer. Initially, it can whitelist it based on function name (basically, if it starts with "AI"). But TexlFunctions need to track whether it requires the disclaimer. We can then populate that flag from Reflection Function, swagger, etc.
The exact markdown is TBD. It will include some bold and a hyperlink.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the proof of concept in #2099, then trace the LSP path that sends function descriptions to UFB and the TexlFunctions metadata. The work is done when AI functions receive rich Markdown with the agreed disclaimer and the eligibility flag can be populated from the mentioned Reflection Function or swagger sources.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100