-
Notifications
You must be signed in to change notification settings - Fork 223
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
Zhipu API issues #79
Comments
No |
I change the url in project, but it only works part of the time # Initialize embedding model
if llm_service_type == "openai_chat":
# Initialize OpenAI client for embeddings
openai_client = OpenAI(
api_key=embeddings_api_key or "dummy_key",
base_url=f"{embeddings_api_base}/v1"
)
elif llm_service_type == "zhipu_chat":
# Initialize Zhipu client for embeddings
openai_client = OpenAI(
api_key=embeddings_api_key or "dummy_key",
base_url=f"{embeddings_api_base}/v4"
) I make some code like this, and the code above can work
the url has been changed in this place, but it also has
the details for the error is
I guess this is because of |
Does this project currently not support the model interface of the Zhipu AI platform
The text was updated successfully, but these errors were encountered: