This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:8.4 | |
# Install Composer | |
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer | |
# Install Git | |
RUN apt-get update && apt-get install -y git unzip && apt-get clean | |
# Update PATH | |
ENV PATH="${PATH}:/root/.composer/vendor/bin" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
distribution_spec: | |
description: Use (an external) Ollama server for running LLM inference | |
container_image: null | |
providers: | |
inference: | |
- remote::ollama | |
vector_io: | |
- inline::faiss | |
- remote::chromadb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
/app/tailscaled --tun=userspace-networking --socks5-server=localhost:1055 & | |
/app/tailscale up --auth-key=${TAILSCALE_AUTHKEY} --hostname=cloudrun-app | |
ALL_PROXY=socks5://localhost:1055/ /app/my-app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graph TD | |
A[LLM-Powered Applications] --> B[Generative AI Apps] | |
A --> C[Chatbots/Virtual Assistants] | |
A --> D[LLM Agents] | |
A --> E[Specific Tools] | |
A --> F[Technologies] | |
B --> B1[Text Generation] | |
B1 --> B1a((ChatGPT)) | |
B1 --> B1b((Jasper)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
минуле це лише те що ти памʼятаєш |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { VOTWorkerClient } from "@vot.js/node"; | |
import { videoData as vd } from "@vot.js/node"; | |
const VOT_STATUS_FAILED = 0; | |
const VOT_STATUS_FINISHED = 1; | |
const VOT_STATUS_WAITING = 2; | |
const VOT_STATUS_LONG_WAITING = 3; | |
const VOT_STATUS_PART_CONTENT = 5; | |
const VOT_STATUS_AUDIO_REQUESTED = 6; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
import time | |
def merge_sort_visualize(arr, left=0, right=None, depth=0): | |
if right is None: | |
right = len(arr) - 1 | |
if left < right: | |
mid = (left + right) // 2 |
NewerOlder