Created at 8pm, Jan 4
wolzogSoftware Development
2
Nearly real time send crypto currency price your email with Github workflow
GDU8D-QfbQ11TktFYivcZJtudLX1vvnulyBBvP4aUVk
File Type
DOCX
Entry Count
4
Embed. Model
jina_embeddings_v2_base_en
Index Type
hnsw

You can send an email alert every 1 hour for the crypto currencies you choose with github actions workflows.

Guide: You must have a Github Account. You can add in your repository above python code as main.py Create a requirements.txt which include; Historic-Crypto==0.1.6 pandas==1.5.1 Create a .github/workflows folder in your repository then create a actions.yml as a sub folder. actions.yml: name: run main.py on: schedule: cron: '0 * * * *' # Every 1 hour jobs: build: runs-on: ubuntu-latest steps: name: checkout repo content uses: actions/checkoutv2 # checkout the repository content to github runner name: setup python uses: actions/setup-pythonv4 with: python-version: '3.11' # install the python version needed name: install python packages run: | python -m pip install --upgrade pip pip install -r requirements.txt name: execute py script # run main.py env: SOME_SECRET: ${{ secrets.SOME_SECRET }} run: python main.py name: commit files run: | git config --local user.email "actiongithub.com" git config --local user.name "GitHub Action" git add -A
id: 8d1e216cfe0b17ccc96df160b46adf6f - page: 2
6.0 with: github_token: ${{ secrets.GITHUB_TOKEN }} branch: main If you want to use SOME_SECRET you have to add from Github Settings.
id: 577a814cf87dc66b37e40866c86f6e58 - page: 2
How to Retrieve?
# Search

curl -X POST "https://search.dria.co/hnsw/search" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"rerank": true, "top_n": 10, "contract_id": "GDU8D-QfbQ11TktFYivcZJtudLX1vvnulyBBvP4aUVk", "query": "What is alexanDRIA library?"}'
        
# Query

curl -X POST "https://search.dria.co/hnsw/query" \
-H "x-api-key: <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"vector": [0.123, 0.5236], "top_n": 10, "contract_id": "GDU8D-QfbQ11TktFYivcZJtudLX1vvnulyBBvP4aUVk", "level": 2}'