Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Conversation

@vmpuri
Copy link
Contributor

@vmpuri vmpuri commented Aug 15, 2024

Ensure basic compatibility with OpenAI API via a Streamlit browser app.

Using the examples on Streamlit's website, I've changed the browser app to query the torchchat OpenAI API server. I've added:

  • Streamed responses
  • Token limit
  • Chat context reset button
Screen.Recording.2024-08-19.at.12.04.39.PM-2.mov

@pytorch-bot
Copy link

pytorch-bot bot commented Aug 15, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/1034

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 2da6299 with merge base c7f56f2 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 15, 2024
@vmpuri vmpuri changed the base branch from main to openai_api_chat_correctness August 16, 2024 23:12
@vmpuri vmpuri marked this pull request as ready for review August 16, 2024 23:12
@vmpuri vmpuri requested review from Jack-Khuu and byjlw August 16, 2024 23:12
@Jack-Khuu
Copy link
Contributor

Can you add a description here?

@vmpuri vmpuri force-pushed the openai_api_compatibility branch from b1ac2df to 716d4a5 Compare August 19, 2024 19:19
@vmpuri vmpuri changed the base branch from openai_api_chat_correctness to main August 19, 2024 19:20
@vmpuri vmpuri force-pushed the openai_api_compatibility branch from 716d4a5 to 6b97a10 Compare August 19, 2024 19:22
@vmpuri vmpuri force-pushed the openai_api_compatibility branch from 6b97a10 to 2da6299 Compare August 19, 2024 19:46
@vmpuri vmpuri merged commit e3ec7ac into main Aug 19, 2024
vmpuri added a commit that referenced this pull request Aug 19, 2024
This was referenced Aug 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants