Skip to main content

Welcome to QueryPipZ

应该如何使用该仓库

1 合理的维护所有的factory 工厂 例如 docstore, vectorstore, graphstore

2 构建并存续特异化的builderlib

3 注册到director 中的 buildtype中

1 初始化 build

在第一次使用的时候,需要初始化, 如果定义了reader 则text 是否传入均可 如果没有定义reader 则 比如传入text

from querypipz import BuilderFactory,BuilderType,Director

dirs = Director(BuilderFactory(BuilderType.CHAT_HISTORY_MEMORY_BUILDER))

query = dirs.construct()



text = """
user: hello
assistant: Hello! How can I assist you today?
user: 你在说什么?
assistant: 你好!我可以帮你做些什么呢?
user: 考虑一下
assistant: 你能具体说明一下需要我考虑什么吗?
user: 考虑一下做一个皮卡丘
assistant: 你是想让我考虑做一个皮卡丘的什么呢?是画一个皮卡丘,还是制作一个皮卡丘模型,或者其他什么呢?请告诉我更多细节。
user: 让我想想
"""

query.build(text = text,cover= True)

2 初始化构建过以后, 直接update上传

from querypipz import BuilderFactory,BuilderType,Director

dirs = Director(BuilderFactory(BuilderType.CHAT_HISTORY_MEMORY_BUILDER))

query = dirs.construct()



text = """
user: 再一次hello
assistant: Hello! How can I assist you today?
user: 你在说什么?
assistant: 你好!我可以帮你做些什么呢?
user: 考虑一下
assistant: 你能具体说明一下需要我考虑什么吗?
user: 考虑一下做一个皮卡丘
assistant: 你是想让我考虑做一个皮卡丘的什么呢?是画一个皮卡丘,还是制作一个皮卡丘模型,或者其他什么呢?请告诉我更多细节。
user: 让我想想
"""

query.update(prompt = text)

直接调取retriver 和query 不需要初始化

retriver

query.retrieve_search('hello')

query

query.query('hello')

tools

query.tools('kv.html')

querypipz

我们的任务就是要构建一个在query 之前, 甚至在chat 之前的所有动作的包

应该如何使用该仓库

1 合理的维护所有的factory 工厂 例如 docstore, vectorstore, graphstore

2 构建并存续特异化的builderlib

3 注册到director 中的 buildtype中

""" VectorStore from document from vectorstore 内有数据 √(创建时会存储) √(及时存储) 内无数据 √ √(需要以创建) """

0-1 query pipeline 1 多模态 2

Metadata

Release files for llamahelper 0.1.6

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

Source distribution (sdist)

Source distribution for llamahelper 0.1.6
File Size Uploaded Provenance Actions
llamahelper-0.1.6.tar.gz 29.3 kB Without provenance Details for llamahelper-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llamahelper 0.1.6
File Interpreter ABI Platform Actions
llamahelper-0.1.6-py3-none-any.whl Python 3 none any Details for llamahelper-0.1.6-py3-none-any.whl

Total release size: 67.5 kB

Release files / llamahelper-0.1.6.tar.gz

Download URL llamahelper-0.1.6.tar.gz
Size 29.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6ac823132debf4d71349c122881f618e4621e919af35452103d76a3e5c2b8f66
BLAKE2b-256 checksum
How to use checksums
fc56f6d8a10ef905803c96e8955b77eda77e116d1a56700ec897af1e68e01377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.11

Release files / llamahelper-0.1.6-py3-none-any.whl

Download URL llamahelper-0.1.6-py3-none-any.whl
Size 38.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e18eab6fda5fcb45589623f173feba9bf77eb49dafeb96673af1d7cac21556f
BLAKE2b-256 checksum
How to use checksums
7f9a9e7f1f5daeb7b232c3f7fddc612fd874cc91ea72c4e82292ce1e85be9e5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.11

Security for llamahelper 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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