Skip to main content

python3 main.py

usage: examples:
        # 初始化配置信息 
        ylz_langchain reset 

        # 启动大语言模型对话
        ylz_langchain start --mode chat
        
        # 测试neo4j
        ylz_langchain neo4j start
       [-h] --mode {llm,chat,prompt,loader,runnable,tools,rag,outputParser,graph,agent,info} [--llm_key LLM_KEY] [--embedding_key EMBEDDING_KEY]
       [--llm_model LLM_MODEL] [--embedding_model EMBEDDING_MODEL] [--message MESSAGE] [--user_id USER_ID] [--conversation_id CONVERSATION_ID] [--url URL]
       [--depth DEPTH] [--rag_indexname RAG_INDEXNAME] [--chat_dbname CHAT_DBNAME] [--query_dbname QUERY_DBNAME] [--docx DOCX] [--pptx PPTX] [--pdf PDF]
       [--glob GLOB] [--websearch {tavily,duckduckgo,serpapi}] [--size SIZE] [--graph {stand,life,engineer,db,selfrag,test,stock}] [--fake_size FAKE_SIZE]
       [--batch BATCH]

options:
  -h, --help            show this help message and exit
  --mode {llm,chat,prompt,loader,runnable,tools,rag,outputParser,graph,agent,info}
                        测试内容
  --llm_key LLM_KEY     语言模型标识,例如:LLM.DEEPSEEK
  --embedding_key EMBEDDING_KEY
                        嵌入模型标识,例如:EMBEDDING.TOGETHER
  --llm_model LLM_MODEL
                        语言模型model
  --embedding_model EMBEDDING_MODEL
                        嵌入模型model
  --message MESSAGE     input message
  --user_id USER_ID     user_id,example: alice
  --conversation_id CONVERSATION_ID
                        conversation_id,example: 123
  --url URL             仅rag,loader使用,下载的URL地址
  --depth DEPTH         仅rag使用,下载的深度,默认为1
  --rag_indexname RAG_INDEXNAME
                        保存的向量索引表,格式为<es|faiss|chroma>:<indexname>
  --chat_dbname CHAT_DBNAME
                        保存的对话数据库
  --query_dbname QUERY_DBNAME
                        测试查询的数据库,默认Chinook.db
  --docx DOCX           docx文档文件名
  --pptx PPTX           pptx文档文件名
  --pdf PDF             pdf文档文件名
  --glob GLOB           当前目录下的glob匹配的文件
  --websearch {tavily,duckduckgo,serpapi}
                        websearch的工具
  --size SIZE           文档分隔的size
  --graph {stand,life,engineer,db,selfrag,test,stock}
                        内置graph的类型
  --fake_size FAKE_SIZE
                        使用fake embeding的size,当fake_size>0是使用fake embeding,并且维度为fake_size
  --batch BATCH         使用生成embeding时的以batch为度量显示进度,默认分隔为10批

Metadata

Release files for ylz-langchain 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ylz-langchain 0.1.0
File Size Uploaded
ylz_langchain-0.1.0.tar.gz 94.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ylz-langchain 0.1.0
File Interpreter ABI Platform
ylz_langchain-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 225.5 kB

Release files / ylz_langchain-0.1.0.tar.gz

Download URL ylz_langchain-0.1.0.tar.gz
Size 94.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a295a11244d9ca4830169d3b0cf4568ee98cc7c5c6dec5ac280234e30e9d0651
BLAKE2b-256 checksum
How to use checksums
79c219b14e10f66cfe8a1ed8476752258b720e787eaaf6a5016cad477ec4c8f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.13.0 Darwin/21.6.0

Release files / ylz_langchain-0.1.0-py3-none-any.whl

Download URL ylz_langchain-0.1.0-py3-none-any.whl
Size 130.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a5a9f4577acf22e2efb7f317641a13b655475e046d5e8d2f8c771a7a200dd398
BLAKE2b-256 checksum
How to use checksums
fe3b46b69e8674707b4ff0bba7e5fa93283ebfbd94db1e9edbe77d0c6a4e1eeb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.4 CPython/3.13.0 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page