pull/393/head
Kye 1 year ago
parent db43acbf7d
commit ea98cbdae8

@ -3,8 +3,7 @@ import os
from dotenv import load_dotenv from dotenv import load_dotenv
from swarms.models.gpt4_vision_api import GPT4VisionAPI from swarms import GPT4VisionAPI, Agent
from swarms.structs import Agent
# Load the environment variables # Load the environment variables
load_dotenv() load_dotenv()

@ -3,7 +3,7 @@ import timeit
from swarms import Agent, ConcurrentWorkflow, Task from swarms import Agent, ConcurrentWorkflow, Task
# model # model
model = MultiOnAgent(multion_api_key="535ae401948b4c59bc1b2c61eec90fe6") model = MultiOnAgent(multion_api_key="api-key")
# out = model.run("search for a recipe") # out = model.run("search for a recipe")
agent = Agent( agent = Agent(

@ -14,7 +14,7 @@ api_key = os.environ.get("OPENAI_API_KEY")
# Initilaize the chromadb client # Initilaize the chromadb client
chromadb = ChromaDB( chromadb = ChromaDB(
metric="cosine",g metric="cosine",
output="results", output="results",
) )

Loading…
Cancel
Save