This post outlines the process of setting up a local watsonx Orchestrate server and invoking a simple agent via REST API using Python. It covers environment setup, Bearer token retrieval, agent ID listing, and code execution.
Avoid the DCO error for your pull requests in a GitHub repository fork
The content provides a solution for resolving the 'DCO is missing' error encountered when forking a GitHub project. It outlines steps to amend commits with sign-off, including adding a commit-msg hook script. Successfully following these instructions helps ensure that your pull request functions correctly.
A Bee API and Bee UI development example for adding a TypeScript tool made for the Bee Agent Framework
The blog post explains the integration of a custom TypeScript tool, TravelAgentTool, into the Bee API and UI to extend the Bee Framework's functionality. It details the steps for setup, including modifying source files, configuring environment variables, and demonstrating its use in travel inquiries. Code instructions for implementation are provided throughout.
Easy migration from org.json to Gson
This blog post discusses how to migrate from org.json to Gson. It provides code examples for both libraries and concludes that the migration requires minimal changes.
How to create a watsonx.ai REST client in Spring Boot?
This blog post demonstrates the Java Spring Boot implementation to invoke a watsonx.ai endpoint. It outlines the classes and steps involved, including building and sending requests, handling prompts, and extracting answers. The post also provides sample code for invoking the endpoint and using RestTemplate. Overall, it offers a comprehensive guide on utilizing watsonx.ai in a Spring Boot application.
Create an IBM Cloud IAM access token in your Spring Boot Java application
This blog post provides an example of obtaining an IBM Cloud access token using the IBM Cloud IAM REST API and Spring Boot. It includes a Java RestClient implementation for getting the access token and a REST endpoint invocation in a sample application.
CheatSheet: How to set up remote development with VS Code using SSH?
The blog post provides a short guide on accessing source code remotely with SSH using VS Code. It covers which of the Visual Studio Code extensions you should install, SSH configuration, connecting to the host, and using VS Code for remote development. The post also includes helpful tips and an example SSH configuration for a Raspberry Pi.
CheatSheet: How to ensure you use the right Python environment in VS Code interpreter settings?
This post covers to ensure you set the virtual environment for Python in VS Code using venv. It details creating and activating a Python venv, and ensuring it’s used in VS Code environments. The steps include opening the VS Code command palette, selecting an interpreter, and navigating to the pyvenv.cfg file.
CheatSheet: Run a PostgreSQL container with Podman and podman-compose
This brief article provides a step-by-step guide for setting up and running a PostgreSQL database container locally using Podman Desktop and podman-compose. It covers installation, configuration, and execution, along with additional notes on maintenance and troubleshooting.
