Comments (11)
Hey @xuhaoguang ,
You do not need to set it, Jina detects that there is a generator being returned and because of that exposes a GET endpoint when served via HTTP.
from jina.
ehh, But how can I use curl "localhost:12345/hc" to health_check method, but when I test, jina say I should send a json post data and Method Not Allowed
from jina.
from jina.
how are u defining this hc endpoint?
from jina.
from jina.
@xuhaoguang Did you find any workaround?
I'm struggling with same.
from jina.
@that-rahul-guy what are you trying to do?
from jina.
Hi @JoanFM
I am currently exploring jina as a framework to serve my LangChain Agent-tool architecture application.
As for the GET method I was trying a similar thing what @xuhaoguang shared.
from jina.
Hey @xuhaoguang, which folder is that file in?
from jina.
@jina-ai/product This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days
from jina.
@jina-ai/product This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days
from jina.
Related Issues (20)
- Error on joining branches: Flow is aborted due to ['gateway'] can not be started. HOT 1
- Cannot serialize subfield objects properly HOT 6
- Release Notes 3.23.3
- Two fields with the same type are conflicted with KeyError in pydantic HOT 9
- Fix code scanning alert - Information exposure through an exception HOT 1
- Release Notes 3.23.4
- Release Note 3.23.5
- Release Note 3.24.0
- float being checked as a list HOT 3
- Release Notes 3.24.1
- How to solve this error? HOT 9
- Release Notes 3.25.0
- Release Note 3.25.1 HOT 1
- After killing the process, it becomes a zombie process HOT 9
- Engine consumes a large amount of Memory. What methods can be used to optimize memory usage? HOT 8
- Setting `return_type` to `DocList[OutputChatDoc]` produces errors HOT 4
- Relese Note 3.26.0
- Release Note 3.27.0
- Jina-ai API unresponsive for Amazon product URLs HOT 3
- Jina AI install error on Ubuntu 22.04 and Python 3.12 system HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jina.