How to Use Postman Online for API Testing
https://www.geeksforgeeks.org/software-testing/how-to-use-postman-online-for-api-testing/
How to Use Postman Online for API Testing
https://www.geeksforgeeks.org/software-testing/how-to-use-postman-online-for-api-testing/
Welcome to the Book of AI, where you'll learn everything you need to know to get started w/ Azure AI services.
Get Started
Install and Setup
Azure ai CLI Installation
Azure OpenAI Setup
Azure AI Tutorials
Azure OpenAI
Azure OpenAI Chat
Azure OpenAI Assistants
Azure.AI.Inference
Azure AI Model Catalog
GitHub Model Marketplace
Azure Developer CLI (azd)
AI Template Gallery
ONNX GenAI Tutorials
Phi-3 Models
ONNX w/ Phi-3 Models
ONNX Chat Basics
Azure OpenAI Apps
Azure.AI.Inference Apps
ONNX/Phi-3 Apps
power of Azure AI with our recent efforts to create the Book of AI
But before we dive into the details, let's back up a bit and talk about how we got here.
ai CLI to generate code snippets and examples for the site. The CLI’s ability to use OpenAI Function Calling w/ pre-defined file system functions made it easy to focus on prompting the AI to generate the content I needed, without needing to copy/paste the generated content and save them to disk. If the prompt wasn't perfect, I could easily tweak it and re-run it to get the desired output. After each round of generation, I reviewed the content to ensure it met the quality standards I was aiming for.github clone https://github.com/Azure/azure-ai-cli
ai chat assistant create --name MyCliAssistant --files "\*\*/*.cs"ai CLI iteratively with different prompts to generate content for the site, using the Assistant I just created:ai chat --built-in-functions --user-prompt @PROMPT1ai chat --built-in-functions --user-prompt @PROMPT2--foreach var file in files @filelist.txtai CLI on Windows, macOS, and Linux, or from VS Dev Container or GitHub Codespacesai dev new openai-chat-webpage-with-functions --javascript
FROM ubuntu:latest
RUN apt-get update && apt-get install -y apache2
COPY ./apache-config /etc/apache2/sites-available/
RUN a2ensite mi_primer_sitio.conf && a2dissite 000-default.conf
EXPOSE 80
CMD ["apache2ctl", "-D", "FOREGROUND"]
FROM ubuntu:latest
RUN apt-get update && apt-get install -y apache2
COPY ./apache-config /etc/apache2/sites-available/
RUN a2ensite mi_primer_sitio.conf && a2dissite 000-default.conf
EXPOSE 80
CMD ["apache2ctl", "-D", "FOREGROUND"]/apache-config (que se copia al contenedor), se crean archivos de configuración para cada host virtual, como mi_primer_sitio.conf. <VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot /var/www/mi_primer_sitio
ServerName www.example.com
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www/mi_primer_sitio>
Require all granted
</Directory>
</VirtualHost>/var/www/mi_primer_sitio) y mapearla a una carpeta en el host. -v para mapear un directorio del host a uno dentro del contenedor. Por ejemplo, para mapear /home/user/sitio1 del host a /var/www/mi_primer_sitio en el contenedor, se usa: docker run -d -p 8080:80 -v /home/user/sitio1:/var/www/mi_primer_sitio mi_imagen_dockersitio1 en el host. docker build -t mi_imagen_docker . docker run -d -p 8080:80 -v /home/user/sitio1:/var/www/mi_primer_sitio mi_imagen_docker/home/user/sitio1 del host a la ruta /var/www/mi_primer_sitio del contenedor. Se pueden agregar más mapeos de volúmenes para otros hosts virtuales.ServerName) coincida con la configuración DNS o con entradas en el archivo /etc/hosts del sistema donde se accederá al contenedor, o usar el indicador --hostname al ejecutar el contenedor.