generated from dellevin/template
测试
This commit is contained in:
@@ -14,12 +14,16 @@ except Exception as e:
|
||||
exit(1)
|
||||
|
||||
model = "qwen3:1.7b"
|
||||
# model = "qwen3:0.6b"
|
||||
OLLAMA_BASE_URL = "http://127.0.0.1:11434/api/generate"
|
||||
# OLLAMA_BASE_URL = "http://152.136.153.72:27009/api/generate"
|
||||
extracted_tags = ex_doc_tag.extract_tags_with_ollama_from_content(
|
||||
OLLAMA_BASE_URL,
|
||||
model,
|
||||
my_article_content,
|
||||
max_tags=8,
|
||||
max_tags=5,
|
||||
min_length=2,
|
||||
max_length=6
|
||||
max_length=10
|
||||
)
|
||||
|
||||
if extracted_tags['code'] == 0:
|
||||
|
||||
Reference in New Issue
Block a user