chtmp223 / topicGPT

TopicGPT: A Prompt-Based Framework for Topic Modeling (NAACL'24)
https://chtmp223.github.io/topicGPT
232 stars 37 forks source link

How to use azure api or other api? #7

Closed mfsss closed 2 weeks ago

mfsss commented 4 months ago

How to use azure api or other api?

Hrishimawal commented 4 months ago

I have the same problem, it does not work with azure api.

chtmp223 commented 2 weeks ago

Azure API (and other APIs) are on our TODO list! In the latest release, we have provided support for OpenAI API, VertexAI API, and vLLM inference. If you would like to implement this code to handle this yourself, you can modify the APIClient class in utils.py.