Skip to content
New issue

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

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

Already on GitHub? # to your account

Add assistants #35

Merged
merged 15 commits into from
Jan 6, 2024
Merged

Add assistants #35

merged 15 commits into from
Jan 6, 2024

Conversation

CJCrafter
Copy link
Owner

@CJCrafter CJCrafter commented Nov 29, 2023

OpenAI recently announced their new Assistants API, which is a beta API that allows people to easily create their own GPTs for people to create. This is highly useful for all people, as you can now "fine-tune" ChatGPT using your own code/documentation to tailor answers specifically to your use case (For an affordable price).

In addition, this PR:

  • Separates object logic into "handlers," since most OpenAI objects (files, assistants, threads, etc.) all follow the same format
  • Normalizes line endings of the repo for better cross platform development support. Forces all git commits to use LF line endings for UNIX support
  • Add Assistants API
    • Java example
    • Kotlin example
    • Test case
  • Add Threads API
    • Java example
    • Kotlin example
    • Test case
  • Add Messages API
    • Files, Image files
    • Java example
    • Kotlin example
    • Test case
  • Add runs API
    • Java example
    • Kotlin example
    • Test case

Fixes #33, #34

Feedback and contributions are welcome!

@CJCrafter CJCrafter marked this pull request as ready for review January 6, 2024 21:02
@CJCrafter
Copy link
Owner Author

This PR contains breaking changes for the unstable Files and Functions API added in the previous update. With these changes, those APIs will now be stable.

This was linked to issues Jan 6, 2024
@CJCrafter CJCrafter merged commit 69cae8b into master Jan 6, 2024
@CJCrafter CJCrafter deleted the assistants branch January 6, 2024 22:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Model Enum Files inconsistancy Assistants, Threads, and Runs
1 participant