No description
  • Python 96.7%
  • Shell 3.3%
Find a file
2024-11-27 12:41:24 -05:00
docker-compose.yml quick dynamic collection generation testing working 2024-11-27 12:41:24 -05:00
mleo-local.postman_environment.json postman 2024-11-22 13:12:56 -05:00
quick_check_readiness.py quick dynamic collection generation testing working 2024-11-27 12:41:24 -05:00
quick_create_collection.py quick dynamic collection generation testing working 2024-11-27 12:41:24 -05:00
README.md Weaviate cluster documentation 2024-11-22 13:19:01 -05:00
requirements.txt quick dynamic collection generation testing working 2024-11-27 12:41:24 -05:00
run-newman.sh postman 2024-11-22 13:12:56 -05:00
weaviate.postman_collection.json Readme and Postman/Hopscotch API 2024-11-22 13:03:27 -05:00

Weaviate Docker Compose & Postman Collection

Introduction

This Postman collection is designed to help you interact with the Weaviate API, a vector database for AI-native applications. It contains various endpoints to explore the capabilities of Weaviate, such as listing available endpoints, managing schemas, and performing other key operations.

Getting Started

Before you can use this collection, you need to configure it for your local or remote Weaviate instance.

Base Path

The base path for the Weaviate server follows this format:
[YOUR-WEAVIATE-HOST]:[PORT]/v1.

For example, when running Weaviate locally, the base path would look like: http://localhost:9080/v1

Environment Setup

  1. Create an Environment Variable for baseUrl:

    In order to use the collection effectively, you must create an environment variable called baseUrl in Postman:

    • Go to the Environments tab in Postman.
    • Click Add to create a new environment.
    • Add a variable named baseUrl.
    • Set its initial value to http://localhost:9080/v1 (or your actual server URL if it's hosted remotely).

    This will allow the collection to dynamically substitute {{baseUrl}} in the API requests.

  2. Using Docker Compose:

    If you’re using Docker to run Weaviate, you can easily get started by running the provided docker-compose.yml file. This file configures the Weaviate instance and other dependencies, and allows you to start the service quickly.

    To start Weaviate using Docker Compose:

    • Ensure Docker and Docker Compose are installed on your system.

    • Open a terminal and navigate to the directory containing the docker-compose.yml file.

    • Run the following command to start the Weaviate instance in detached mode:

      docker-compose up -d
      

    This command will pull the necessary images and start the containers in the background.

    • Once the containers are up and running, you can access Weaviate with a 3 node cluster:
    • You can also access the Weaviate dashboard at http://localhost:9080/v1.
    • You can also access the Weaviate dashboard at http://localhost:9081/v1.
    • You can also access the Weaviate dashboard at http://localhost:9082/v1.
  3. Using the Collection:

    Once the baseUrl variable is set, and Weaviate is running via Docker Compose, you can start using the requests in this collection to interact with your Weaviate instance. Each request in the collection will automatically append the correct base URL to the endpoint paths.

Example Request

List available endpoints:

  • Method: GET
  • URL: {{baseUrl}}/
  • Description: This request lists the available endpoints to help you navigate and discover the REST API capabilities.

Documentation & Support

Author

Created by jbelke