-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduced a simple demo of mixed index and text2gremlin demonstration. #54
Conversation
2. Graph RAG增加向量索引和混合索引加重排的两种方式的索引。 3. 增加自然语言转gremlin的任务及演示。
TODO: lack some check now
for debug RESTful API problem
2. added template input textbox 3. changed ernie llm to use qianfan sdk 4. added function of filtering id length
Also rename the same params (inner & outer) TODO: Non-Schema mode will throw Error now (we need fix it)
…id querying - Update BuildSemanticIndex class to match new file naming convention. - Modify code_format_and_analysis.sh to use a line length of 120. - Change logging format to use %s instead of {} for string formatting.
1. Introduce a clean-up function to remove index and content files, aiding in maintaining a clean file system after operations. 2. Introduce default demo of build kg. 3. Now it does not clean the kg before building kg by default. 4. Clean the stopwords files.
Now the .config file instead of json file can be generated with command like |
init graphspace support
|
||
dirname = os.path.dirname | ||
package_path = dirname(dirname(dirname(dirname(os.path.abspath(__file__))))) | ||
env_path = os.path.join(package_path, ".env") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在pip安装之后 运行代码会在python所在路径下生成.env
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some aspects that can be optimized in the future.
- Add some configuration-related comments in the .env file
- Rename
.env
filename to something related to hugegraph-llm - Unify the variables in the .env file and the variables in the Config class to be all uppercase
- Differentiate between commonly used parameters and parameters that are secret keys
- Give user a choice where to place their .env file
* support local openai env * fix env
…-only", "vector-only", "graph-vector"
# Conflicts: # hugegraph-llm/src/hugegraph_llm/demo/rag_web_demo.py
…fix code style (#3) * fix: fix the triple extract * 修改格式,和属性图模式 * 修复代码样式,并增加错误抓取和传输到前端界面
Main changes:
TODOs (add them later) 🔢
... (check the latest doc)