Files
semantic-kernel/dotnet/samples/Demos/FSharpScripts
gparmigianiandMark Wallace d1f362144a .Net: Demos: add folder for F# script samples .fsx and one with hugging face 🤗 chat completion (#8018)
### Motivation and Context

<img width="971" alt="image"
src="https://github.com/user-attachments/assets/4423aa1d-05b7-4e96-9476-a6732aa41e8b">


<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
1. Why is this change required? `add new demo for fsharp script files, a
succint and easy way to get started in .net scripting`
2. What problem does it solve? `shows samples of hugging face for a
single .fsx file`
3. What scenario does it contribute to? 'hugging face chat completion
demo`
  4. If it fixes an open issue, please link to the issue here. `nope`
-->

### Description

add a folder for F# script demos, to allow people to add more single
files samples for .fsx files, which can load nuget packages and are a
nice strongly typed alternative to python, a great feat of F# in the
dotnet ecosystem.
similarly cs scripts can also be created but require global tools, F#
naturally excels in scripting

to run a script one can use VsCode + Ionide + dotnet-sdk or VS or Rider,
or even run the script from commandline `dotnet fsi script.fsx`

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ X] The code builds clean without any errors or warnings
- [ X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ X] All unit tests pass, and I have added new tests where possible
- [ X] I didn't break anyone 😄

---------

Co-authored-by: Mark Wallace <[email protected]>
2024-08-22 03:00:48 +00:00
..