Update README.md

This commit is contained in:
Han Xiao 2025-02-03 10:57:42 +08:00 committed by GitHub
parent 1039a3f827
commit 504edc7266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,18 +1,27 @@
## Install
```bash ```bash
export GOOGLE_API_KEY=... # ask han export GOOGLE_API_KEY=... # ask han
export BRAVE_API_KEY=... # ask han export BRAVE_API_KEY=... # brave provide free key, ask han
export JINA_API_KEY=jina_... # get from jina.ai export JINA_API_KEY=jina_... # get from jina.ai
npm install npm install
```
## Example
```
# example: no tool calling # example: no tool calling
npm run dev "1+1=" npm run dev "1+1="
npm run dev "what is the capital of France?" npm run dev "what is the capital of France?"
# example: simple # example: 2-step
npm run dev "what is the latest news from Jina AI?" npm run dev "what is the latest news from Jina AI?"
# example: wrong answer # example: 3-step
npm run dev "what is the twitter account of jina ai's founder" npm run dev "what is the twitter account of jina ai's founder"
# example: many-step, ambiguious question
npm run dev "who is bigger? cohere, jina ai, voyage?"
# example: open question, long chain of thoughts # example: open question, long chain of thoughts
npm run dev "who will be president of US in 2028?" npm run dev "who will be president of US in 2028?"
npm run dev "what should be jina ai strategy for 2025?" npm run dev "what should be jina ai strategy for 2025?"