Skip to content

Conversation

@bennyai21
Copy link
Contributor

No description provided.

benshuk and others added 30 commits November 27, 2024 18:36
feat: ✨ add support for Assistant resource
feat: ✨ add support for Thread resource
feat: ✨ add support for Message resource
* feat: ✨ add support for Run resource

* fix: 🏷️ typing backwards compatability

* refactor: 🚚 rename classes & types and such

* refactor: 🔥 remove `avatar` option

* fix: 🏷️ typing yay

* feat: ✨ add examples

* fix: 🏷️ make `description` optional

* docs: 📝 add assistants info to README

also, add examples

* test: ✅ add assistants to tests

* docs: 📝 update docs about Assistants

* docs: 📝 better example

* chore: 🚚 move files

* docs: 📝 examples fixes

---------

Co-authored-by: benshuk <bens@ai21.com>
* feat: ✨ add support for Plan resource

* feat: ✨ add support for Route resource

* fix: 🏷️ List instead of list

* refactor: 🚚 rename classes and files

---------

Co-authored-by: benshuk <bens@ai21.com>
EXEC-470

Co-authored-by: benshuk <bens@ai21.com>
* fix: add schemas to assistant plans

* fix: support func type in code and class in schemas

* fix: add schemas to api call

* fix: raise an error on code parsing failed

* fix: change types

* fix: add tests

* fix: adapt code to 3.8

* fix: adapt code to 3.8

* fix: support model schemas of python 3.11

* fix: support model schemas of python 3.11

* fix: PR comments

* fix: PR comments

* fix: add user defined plan example to integration tests
semantic-release and others added 26 commits December 26, 2024 08:07
# Conflicts:
#	CHANGELOG.md
#	ai21/version.py
#	pyproject.toml
* feat: ✨ add support for `str` message content

* fix: 🏷️ typing

* fix: 🏷️ typing again

* fix: 🏷️ typing thingy

---------

Co-authored-by: benshuk <bens@ai21.com>
Co-authored-by: benshuk <bens@ai21.com>
* feat: ✨ add support for status polling for `Run`

* chore: 🔧 constants

* refactor: ♻️ polling implementation

* docs: 📝 update assistant examples

* refactor: ♻️ rename `poll_interval` and `poll_timeout` to indicate seconds

---------

Co-authored-by: benshuk <bens@ai21.com>
* feat: add submit_input method for thread run

* fix: change gt to gte operator in poll_for_status

* fix: add =None to optionals
Co-authored-by: benshuk <bens@ai21.com>
Co-authored-by: benshuk <bens@ai21.com>
* feat: ✨ support deleting assistant

* fix: ♻️ assistant route description should be optional

---------

Co-authored-by: benshuk <bens@ai21.com>
chore: ♻️ thread messages should be optional
* fix: 🐛 create thread without messages plz

* docs: 📝 update assistant example

---------

Co-authored-by: benshuk <bens@ai21.com>
@github-actions github-actions bot added the documentation Documentation Update label Jan 28, 2025
@bennyai21 bennyai21 requested a review from Josephasafg January 28, 2025 13:56
@Josephasafg Josephasafg changed the title Rc assistant api support feat: Assistant API Support Jan 28, 2025
@bennyai21 bennyai21 closed this Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Documentation Update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants