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
// | |
// GriptapeCloudClient.swift | |
// GriptapeCloudClient | |
// | |
// Created by Kyle Roche on 1/7/24. | |
// | |
import Foundation | |
import OpenAPIRuntime | |
import OpenAPIURLSession |
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 griptape.memory import Memory | |
from griptape.executors import DockerExecutor | |
from griptape.ramps import TextStorageRamp, BlobStorageRamp | |
from griptape.structures import Pipeline | |
from griptape.tasks import ToolkitTask, PromptTask | |
from griptape.tools import WebScraper, TextProcessor, FileManager, SqlClient | |
# Ramps enable LLMs to store and manipulate data without ever looking at it directly. | |
text_storage = TextStorageRamp() | |
blob_storage = BlobStorageRamp() |
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 decouple import config | |
from griptape.tools import WebScraper, Calculator | |
from griptape.flow import utils | |
from griptape.flow.memory import PipelineMemory | |
from griptape.flow.steps import PromptStep, ToolkitStep | |
from griptape.flow.structures import Pipeline | |
from griptape.flow.utils import ToolLoader | |
scraper = WebScraper( |