Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chatbot_canifa_test_conservation_tools
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
chatbot_canifa_test_conservation_tools
Commits
5deb9f3e
Commit
5deb9f3e
authored
Dec 29, 2025
by
Vũ Hoàng Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: resolve ProactorEventLoop issue and update chat endpoint
parent
450e7acf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
Makefile
backend/Makefile
+2
-2
run.txt
backend/run.txt
+6
-1
a.py
backend/test/a.py
+7
-0
No files found.
backend/Makefile
View file @
5deb9f3e
...
...
@@ -3,7 +3,7 @@
.PHONY
:
up down restart logs build ps clean setup-nginx monitor-up monitor-down
up
:
docker-
compose up
-d
--build
suod docker
compose up
-d
--build
down
:
docker-compose down
...
...
@@ -12,7 +12,7 @@ restart:
docker-compose restart backend
logs
:
docker-compose logs
-f
backend
sudo
docker logs
-f
canifa_
backend
ps
:
docker-compose ps
...
...
backend/run.txt
View file @
5deb9f3e
.\.venv\Scripts\activate
\ No newline at end of file
.\.venv\Scripts\activate
uvicorn server:app --host 0.0.0.0 --port 5000 --reload
uvicorn server:app --host 0.0.0.0 --port 5000
\ No newline at end of file
backend/test/a.py
0 → 100644
View file @
5deb9f3e
import
requests
response
=
requests
.
post
(
"http://172.16.2.210:8008/text_search/search"
,
data
=
{
"query"
:
"áo polo nam"
},
headers
=
{
"accept"
:
"application/json"
}
)
print
(
response
.
json
())
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment