Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PawelSzpyt/assistant-api-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: gdorsi44/assistant-api-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 14 files changed
  • 4 contributors

Commits on Feb 16, 2024

  1. I did some changes:

    - Now it waits till the client finishes work
    - It tracks the program with System.out.println instructions explaining what is happening in crucial moments
    - I put all urls in properties so that they are in one place and easily accessible to make sure all of them are legit and there is no shady stuff going on in this project
    - I also put user prompt and assistant instructions in properties for easy customization
    - I changed default model to gpt-3.5-turbo because it is 15x cheaper, and the user will most likely do some test runs at first, so its gonna save him a lot of money
    - I made it simple to revert to gpt-4 model and put its name in GPTModel enum, also added a comment about the current pricing and limitations
    - Also some minor adjustments like removing some unnecessary comment and adjusting variable names to make the code more understandable
    - I added println that will show you all the responses so that you see what you are billed for
    Not the nicest code I ever written but its decent and gets the job done. I have massive concerns with Assistant API from OpenAI, not sure if I want to contribute and use it. Basically, a single and simple instruction and message that should be answered with a few words might result in tens of responses and there is no way to control that. Will report these concerns as Issue.
    PawelSzpyt committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    bc0af35 View commit details
    Browse the repository at this point in the history
  2. Update README.md with describing risks of using Assistant API

    Assistant API might get very expensive in case of any issue during processing the prompt, therefore I added appropriate section in README.md. These issues forced me to stop of using Assistant API, and I think users should be aware of risks associated with using Assistant API.
    PawelSzpyt authored Feb 16, 2024
    Configuration menu
    Copy the full SHA
    ad75b1b View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. Merge pull request gdorsi44#2 from PawelSzpyt/tracking_bugfixing_and_…

    …refactoring
    
    Improved codebase
    gdorsi44 authored Feb 17, 2024
    Configuration menu
    Copy the full SHA
    cc8a424 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. ignore unknown json properties in dtos

    Ondrej Černobila committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    12284ce View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2024

  1. Merge pull request gdorsi44#4 from cernobilao/feature/ignore-unknown-…

    …json-properties-in-dtos
    
    ignore unknown json properties in dtos
    gdorsi44 authored Jul 27, 2024
    Configuration menu
    Copy the full SHA
    9b002f3 View commit details
    Browse the repository at this point in the history
Loading