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

[JS] feat: support for v2 Assistants #2193

Merged
merged 16 commits into from
Dec 3, 2024
Merged

[JS] feat: support for v2 Assistants #2193

merged 16 commits into from
Dec 3, 2024

Conversation

corinagum
Copy link
Collaborator

@corinagum corinagum commented Nov 19, 2024

Linked issues

closes: #1585

Details

Please note

This code updates to use v2 assistants, but file search, vector store, and code interpreter handling have not been implemented yet. This work was mainly to remove the dependency @azure/openai-assistants.

Change details

  • Remove @azure/openai-assistants package and use openai in AssistantsPlanner.ts
  • Update AssistantsPlanner.ts to use assistants v2
  • Other:
    • Docstrings updates
    • Linting
    • Add TTK testtool to OrderBot
    • Fix JSON parsing issue in ToolsAugmentation - was causing error messages in unit tests but no negative impact on the feature.

Attestation Checklist

  • My code follows the style guidelines of this project

  • I have checked for/fixed spelling, linting, and other errors

  • I have commented my code for clarity

  • I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient)

  • My changes generate no new warnings

  • I have added tests that validates my changes, and provides sufficient test coverage. I have tested with:

    • Local testing
    • E2E testing in Teams
  • New and existing unit tests pass locally with my changes

Additional information

Feel free to add other relevant information below

@corinagum corinagum changed the title Cg/assistants planner [JS] feat: support for v2 Assistants Nov 20, 2024
@corinagum corinagum marked this pull request as ready for review November 20, 2024 00:29
@corinagum corinagum merged commit cd919c0 into main Dec 3, 2024
16 checks passed
@corinagum corinagum deleted the cg/AssistantsPlanner branch December 3, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat]: add support for AI assistants=v2 version API
2 participants