Closed krrishdholakia closed 1 year ago
cc: @jeffkayne @sfc-gh-jcarroll
Thanks! I don't think we will add this dependency as the point of the app is to show the simple version that calls anthropic directly. The app seems to be working now from what I can tell.
Anthropic changed their python sdk - making this code line outdated.
https://github.com/streamlit/llm-examples/blob/7e97a0e5e543cc29df71c6c664f76aeadeab4850/pages/1_File_Q%26A.py#L25
Would love to know if this might help - https://github.com/BerriAI/litellm
~100 lines of code, that standardizes all the llm api calls to the OpenAI call