Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Llm chat/finalize #42

Merged
merged 34 commits into from
Feb 7, 2024
Merged

Llm chat/finalize #42

merged 34 commits into from
Feb 7, 2024

Commits on Feb 2, 2024

  1. Added basic LLM functionality (#27)

    Added SpeziLLM as a dependency to the project and created very basic
    infrastructure for the chief complaint (a button on the home screen
    leading to openAI onboarding and chat like what we saw in the demo on
    Jan 25th).
    
    # *Integrate basic LLM Functionality to the project*
    
    ## ♻️ Current situation & Problem
    Our project heavily depends on LLMs, but we did not yet have SpeziLLM as
    a dependency nor did we have any views set up for a chat interface with
    the LLM.
    
    
    ## ⚙️ Release Notes 
    *Added SpeziLLM (including SpeziLLMOpenAI and SpeziLLMLocal) as a
    dependency to the project*
    *Created a Create Form tab on the home screen that links to a basic chat
    interface for the Chief Complaint*
    *Initialized for OpenAI LLM functionality, but not yet ready for local
    (i.e. no code written for downloading model)*
    
    
    ## 📚 Documentation
    The LLM modules are contained in the ChiefComplaint group for now.
    LLMInteraction is the chat UI, LLMOnboarding is the first time setup
    (for OpenAI, it requests an API Key, and once we get local LLM set up it
    will be able to initiate the setup for that). Onboarding files for
    OpenAI initialization are found in the OpenAI group, and onboarding
    files for local initialization are found in the Local group.
    
    
    ## ✅ Testing
    All the code in the ChiefComplaint group passes all the tests for a
    successful build at compile time.
    
    
    ## 📝 Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md):
    - [Y] I agree to follow the [Code of
    Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md).
    nriedman authored Feb 2, 2024
    Configuration menu
    Copy the full SHA
    974a1e0 View commit details
    Browse the repository at this point in the history
  2. onAppear functionality

    nriedman committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    352213a View commit details
    Browse the repository at this point in the history
  3. Finalize MVP Chat assistant

    nriedman committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    32d0b9a View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2024

  1. LLM Finish

    nriedman committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    09b78d8 View commit details
    Browse the repository at this point in the history
  2. Cleanup

    nriedman committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    2013ec2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    68e5a4b View commit details
    Browse the repository at this point in the history
  4. changes

    ninaboord committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    fe71d5f View commit details
    Browse the repository at this point in the history
  5. Resolved too long line

    nriedman committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    b21c243 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    35d8b75 View commit details
    Browse the repository at this point in the history
  7. ehllo

    ninaboord committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    6582fdf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    42c9888 View commit details
    Browse the repository at this point in the history
  9. Reset

    nriedman committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    6001af8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a76b8bc View commit details
    Browse the repository at this point in the history
  11. Navigation

    nriedman committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    d082cab View commit details
    Browse the repository at this point in the history
  12. Merge branch 'llmChat/finalize' of https://github.com/CS342/2024-Intake

    … into llmChat/finalize
    nriedman committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    3eb5d0f View commit details
    Browse the repository at this point in the history
  13. Cleaned up final push.

    nriedman committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    502c929 View commit details
    Browse the repository at this point in the history
  14. Linting check

    nriedman committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    5519575 View commit details
    Browse the repository at this point in the history
  15. Cleaning unused variables

    nriedman committed Feb 3, 2024
    Configuration menu
    Copy the full SHA
    bc00bf7 View commit details
    Browse the repository at this point in the history
  16. Llmchat/finalize (#40)

    Final LLM Chat UI with Greeting and Function Calling.
    
    ## ♻️ Current situation & Problem
    The basic LLM chat infrastructure was done, but it did not include a
    welcome greeting and did not have function calling capabilities to
    summarize the chat into a concise chief complaint.
    
    
    ## ⚙️ Release Notes 
    Added function calling to the LLMInteraction struct's LLM model
    (currently commented out, as the function is not yet complete), and
    enabled a greeting message upon opening the app. Fine tuned the system
    prompt.
    
    
    ## 📚 Documentation
    NA
    
    
    ## ✅ Testing
    NA
    
    
    ## 📝 Code of Conduct & Contributing Guidelines 
    
    By submitting creating this pull request, you agree to follow our [Code
    of
    Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md):
    - [X] I agree to follow the [Code of
    Conduct](https://github.com/CS342/.github/blob/main/CODE_OF_CONDUCT.md)
    and [Contributing
    Guidelines](https://github.com/CS342/.github/blob/main/CONTRIBUTING.md).
    
    ---------
    
    Co-authored-by: Nina Boord <[email protected]>
    nriedman and ninaboord authored Feb 3, 2024
    Configuration menu
    Copy the full SHA
    4c61cbe View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Housekeeping

    nriedman committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    67b3467 View commit details
    Browse the repository at this point in the history
  2. bug fix

    ninaboord committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    b7ce520 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Navigation to SummaryView done

    Philipp came in clutch here.
    nriedman committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    4ff90bb View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. Finalize SummaryView

    nriedman committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    1582440 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a61aab7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25244b2 View commit details
    Browse the repository at this point in the history
  4. Final final summary view

    nriedman committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    b72c81d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aa1a5a0 View commit details
    Browse the repository at this point in the history
  6. Linting

    nriedman committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    02dcd3b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    848a504 View commit details
    Browse the repository at this point in the history
  8. Linting

    nriedman committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    5805aa0 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'llmChat/finalize' of https://github.com/CS342/2024-Intake

    … into llmChat/finalize
    nriedman committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    e51a31c View commit details
    Browse the repository at this point in the history
  10. Linting

    nriedman committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    849f7b1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b0a21aa View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    34b7ae7 View commit details
    Browse the repository at this point in the history