dockerfile: Dockerfile container_name: gpt4free-ts image: gpt4free-ts:latest ports: - "13000:3000" restart: always volumes: - ./run:/usr/src/app/run cap_add: - "SYS_ADMIN" environment: # - TZ=Asia/Shanghai - http_proxy=${http_proxy} - https_proxy=${http_proxy} - rapid_api_...
Docker container Quick start: Download and install Docker Pull latest image and run the container: docker pull hlohaus789/g4f docker run -p 8080:8080 -p 1337:1337 -p 7900:7900 --shm-size="2g"hlohaus789/g4f:latest Open the included client on:http://localhost:8080/chat/or set the AP...
How do I build and run composer image from source? Use docker-compose: /docs/docker💡 UsageText Generationfrom g4f.client import Client client = Client() response = client.chat.completions.create( model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Hello"}], ... ) ...
Install Docker: Begin by downloading and installing Docker. Set Up the Container: Use the following commands to pull the latest image and start the container:docker pull hlohaus789/g4f docker run \ -p 8080:8080 -p 1337:1337 -p 7900:7900 \ --shm-size="2g" \ -v ${PWD}/har_and_...
docker run -p 3000:3000 --env-file .env xiangsx/gpt4free-ts:latest Deploy with docker-compose 🎭first, you should create file .env; Follow step "Run with dockerdeploydocker-compose up --build -d Clash+one-api+gpt4free-ts Start with one command 😮...
Run local yarn yarn start Deploy with docker-compose docker-compose up --build -d test with curl common request curl "http://127.0.0.1:3000/ask?prompt=你好" request event-stream curl "http://127.0.0.1:3000/ask/stream?prompt=你好"Footer...
is-docker@^3.0.0: version "3.0.0" resolved "https://registry.npmmirror.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== is-extendable@...
[Not working now] A free llama3.1 405B API server that routes any OpenAI compatible chat API request to Sambanova AI. Deploy with Cloudflare Worker, Docker, or NodeJS dockeraidocker-composecloudflare-workercloudflare-workersgpt4freegpt4free-apillama3 ...
docker compose upYour server will now be running at http://localhost:1337. You can interact with the API or run your tests as you would normally.To stop the Docker containers, simply run:docker compose downNote When using Docker, any changes you make to your local files will be reflected...
Erstellen Sie das Docker-Image: docker-compose buildStarten Sie den Dienst mit Docker Compose: docker-compose upIhr Server wird jetzt unter http://localhost:1337 ausgeführt. Sie können mit der API interagieren oder Ihre Tests wie gewohnt ausführen....