Skip to content
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

fastchat 服务如何使用,我想在其他平台使用,我私有的模型,应该如何填写 #3914

Closed
yumu7777777 opened this issue Apr 28, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@yumu7777777
Copy link

API endpoint URL如何写,貌似不是 http://ip:20000 de 服务

image

@yumu7777777 yumu7777777 added the enhancement New feature or request label Apr 28, 2024
Copy link

dosubot bot commented Apr 28, 2024

To integrate your private model with the "fastchat" service and correctly set up the API endpoint URL, you should refer to the official API documentation of the "fastchat" service for the precise endpoint structure. The configuration for the API, including the base URL (api_base_url), API key (api_key), and other necessary parameters, should be specified according to the service's requirements. Typically, the api_base_url will be the base URL of your service, and the API key should be included in the request headers or as a query parameter, as dictated by the "fastchat" service's API guidelines.

Ensure you specify the request type and completion mode correctly in your request, based on the available options in the "fastchat" service's API. If "http://ip:20000" does not seem to work, it's likely that the service expects a different format or additional parameters.

For detailed instructions on setting these parameters and for examples of the correct URL format, please consult the "fastchat" service's documentation or the API guide provided with your service. This will give you the most accurate and specific guidance on how to proceed.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@yumu7777777
Copy link
Author

Langchain-Chatchat 不是集成了fastchat吗?我看server_config.py 中提到的端口就是 20000啊,或者我应该在哪去找相关文档呢

@ghyaauoo
Copy link

如果model_worker配置端口没改的话,默认20002

@zRzRzRzRzRzRzR zRzRzRzRzRzRzR self-assigned this May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants