You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @xiliu! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together!
The issue you're encountering seems to be related to the prompt_name parameter not functioning as expected when using the one-api online large language model. The prompt_name is intended to specify different prompt templates configured in the application, allowing you to select and use various prompt templates for generating responses. This parameter is typically used in the extra_body dictionary when making API calls to the completions endpoint.
If the prompt_name is not affecting the output as expected, it could be due to several reasons:
Configuration Issue: Ensure that the prompt_name you are using is correctly defined in the prompt_settings.yaml or the relevant configuration file. The prompt template should be properly set up and accessible by the application.
API Handling: Verify that the API endpoint you are using correctly interprets the prompt_name parameter. There might be an issue with how the API processes this parameter, especially if it's not directly related to the template configuration.
Code Logic: Check the logic in the code where the prompt_name is used. Ensure that the parameter is being passed and utilized correctly in the API call. The function responsible for fetching and applying the prompt template should be correctly implemented.
Version Compatibility: Since you mentioned version 0.3.1, there might be changes or bugs in this version affecting the functionality. Consider checking the release notes or any related issues in the repository for known bugs or updates.
If these steps do not resolve the issue, further investigation into the specific implementation details and configuration might be necessary.
这里的prompt_name是是来自prompt_settings.yaml中,大模型返回的信息,与模版没关系,这是什么问题
The text was updated successfully, but these errors were encountered: