microsoft / teams-ai

SDK focused on building AI based applications and extensions for Microsoft Teams and other Bot Framework channels
MIT License
435 stars 185 forks source link

[PY/JS]: Chat Completions Tools - Bug Bash #1955

Open lilyydu opened 2 months ago

lilyydu commented 2 months ago
### JS samples
- [x] JS LightBot - OAI ✅ Corina
- [x] JS LightBot - AOAI ✅ Corina
- [x] JS ListBot - OAI - ✅  Corina
- [x] JS DevOps bot - OAI
- [x] JS DevOps bot - AOAI ✅ Corina
- [x] JS CardGazer - OAI #2039
- [x] JS CardGazer - AOAI
- [ ] JS WhoBot - OAI Brian?
- [ ] JS WhoBot - AOAI Brian?
- [x] JS ListBot - AOAI ✅ Corina
### PY samples
- [x] PY LightBot - OAI  ✅ Lily
- [x] PY LightBot - AOAI ✅ Lily
- [x] PY ListBot - OAI  ✅ Lily
- [x] PY ListBot - AOAI
- [x] PY DevOps bot - OAI  ✅ Lily
- [x] PY DevOps bot - AOAI ✅  Brian
- [x] PY Langchain - OAI  ✅ Lily
- [x] PY Langchain - AOAI ✅  Brian

Directions:

  1. Pull latest changes from this repo and open the sample's folder.
  2. Comment out this code in teamsapp.local.yml: image This is to make sure you are using the latest code changes, not what is latest published code.
  3. Add AOAI key and endpoint or OAI key to .env, .env.local.user, and update azure.bicep and azure.parameters.json with the key and/or endpoint.

.env.local.user: image

.env: image

azure.bicep: image

  1. Run the sample and if no problems detected, please add a checkmark with your name above. If you do come across any problems, please list details of which sample / what model(s) you used, take screencaps of the chat log, and other error messages or related context, and post them as a comment here. Feel free to put an ❌ with your name in the tasklist above.

Having more than one person per sample per LLM would be much appreciated. Thank you!

lilyydu commented 2 months ago

for openai-python, testing with non-specified parallel_tool_calls is throwing 400 because of the AOAI API

#1492

BMS-geodev commented 1 month ago

PY Langchain - AOAItested with proper creds. Seems fully functional.

BMS-geodev commented 1 month ago

PY DevOps bot - AOAI tested and working properly. I've made note of a minor response text formatting issue with the team for further discussion.