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
import os | |
from fastapi import FastAPI | |
from fastapi.responses import JSONResponse | |
from fastapi.requests import Request | |
from fastapi.encoders import jsonable_encoder | |
from typing import List | |
from pydantic import BaseModel | |
from crewai import Agent, Task, Crew, Process | |
from langchain_community.chat_models import ChatPerplexity |