Please go to https://github.com/coderabbit214/ChatGLM-6B-bibliothecarius to download and start the project.
Request interface POST:/external/model to add the interface address to Bibliothecarius.
bashCopy code
curl --location --request POST 'http://127.0.0.1:8080/external/model' \
--header 'Content-Type: application/json' \
--data-raw '{
"chatAddress": "http://127.0.0.1:8000/chat",
"name": "ChatGLM",
"checkParametersAddress": "http://127.0.0.1:8000/checkParams",
"remark": "description",
"inputMaxToken": 1500
}'
Request interface GET:/scene/model/type to check if the model has been successfully added.
Select the desired model when creating a scene.