Skip to content

YAML file for server config #391

Answered by SimFG
KritapasSuwannawin asked this question in Q&A
Discussion options

You must be logged in to vote

hi, @KritapasSuwannawin , reference: https://github.com/zilliztech/GPTCache/tree/main/examples#how-to-set-the-embedding-function
for example, if you want to use the paddlenlp embedding:

model_source:
    paddlenlp
model_config:
    model: ernie-3.0-medium-zh

themodel_config param is the construct params, reference: https://gptcache.readthedocs.io/en/latest/references/embedding.html

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@KritapasSuwannawin
Comment options

@SimFG
Comment options

Answer selected by SimFG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants