Skip to content
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

feat(llm): support basic rag api(v1) #64

Merged
merged 33 commits into from
Aug 18, 2024
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
84ac54b
feat(llm): integrate fastapi
ChenZiHong-Gavin Aug 13, 2024
c67b43e
feat: graph rag api demo
ChenZiHong-Gavin Aug 13, 2024
5712554
feat(rag_web_demo): Synchronize hg-ai branch "graphspace"
returnToInnocence Aug 14, 2024
1d0cffe
feat(config): Add configuration for graph_space.
returnToInnocence Aug 14, 2024
38a4569
feat(rag_web_demo): graphConfig interface encapsulates and tests.
returnToInnocence Aug 14, 2024
5dc6772
feat(rag_web_demo): Encapsulate llm config, split llm config function
returnToInnocence Aug 15, 2024
fa6df7b
feat(rag_web_demo): Add the Set up the LLM http interface
returnToInnocence Aug 15, 2024
f2d1c43
fix(rag_web_demo): Fix possible errors caused by Unsupported method i…
returnToInnocence Aug 15, 2024
3235e07
feat(rag_web_demo): The embedding_config_api interface completes the …
returnToInnocence Aug 15, 2024
e1943b8
fix(rag_web_demo): Fix the setting missing in apply_embedding_configu…
returnToInnocence Aug 15, 2024
d6e6e20
refactor(rag_web_demo): Split the code inside the main function based…
returnToInnocence Aug 15, 2024
4ae6b85
fix(rag_web_demo): Change the RAGRequest parameter defaults
returnToInnocence Aug 15, 2024
5be4cf2
fix(config): graph_space option change to None
returnToInnocence Aug 15, 2024
e33762a
fix(rag_web_demo): Changing code comments
returnToInnocence Aug 15, 2024
e8a22d3
style(rag_web_demo): Add a space after the colon
returnToInnocence Aug 16, 2024
7631a5f
fix(rag_web_demo): Fixed missing return value of apply_embedding_conf…
returnToInnocence Aug 16, 2024
ddc7931
tiny fix
imbajin Aug 16, 2024
967e950
fix(rag_web_demo): Fixed test_api_connection gr.Error unable to rende…
returnToInnocence Aug 16, 2024
5a0dff6
Merge branch 'main' into fast-api
imbajin Aug 17, 2024
07e552d
clean the func & tiny fix
imbajin Aug 17, 2024
aed8986
Merge branch 'fast-api' of https://github.com/ChenZiHong-Gavin/incuba…
returnToInnocence Aug 17, 2024
93aa516
refactor(rag_api): refactor return && some tiny thing
returnToInnocence Aug 17, 2024
f2c12e6
fix(rag_web_demo): unify build_kg func return type
returnToInnocence Aug 17, 2024
b7ea009
feat:add try catch for test connection
ChenZiHong-Gavin Aug 17, 2024
ccbfa33
feat: use constants for build_mode
ChenZiHong-Gavin Aug 17, 2024
83950b9
style(rag_web_demo,rag_api): use code_format_and_analysis.sh format code
returnToInnocence Aug 17, 2024
ec2f8e0
fix: compare constant values
ChenZiHong-Gavin Aug 18, 2024
c2f91bc
feat(rag_api): Split wrapper api
returnToInnocence Aug 18, 2024
245583b
fix(rag_web_demo): fix test_api_connection
returnToInnocence Aug 18, 2024
6cb562b
Update rag_web_demo.py
imbajin Aug 18, 2024
a3652a7
Merge branch 'fast-api' of https://github.com/ChenZiHong-Gavin/incuba…
imbajin Aug 18, 2024
aa47e92
refact: support test wenxin/ollama conn
imbajin Aug 18, 2024
e097d0f
tiny fix
imbajin Aug 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hugegraph-llm/src/hugegraph_llm/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Config:
"""HugeGraph settings"""
graph_ip: Optional[str] = "127.0.0.1"
graph_port: Optional[int] = 8080
# graph_space: Optional[str] = "DEFAULT"
graph_space: Optional[str] = None
graph_name: Optional[str] = "hugegraph"
graph_user: Optional[str] = "admin"
graph_pwd: Optional[str] = "xxx"
Expand Down
Loading
Loading