Skip to content
This repository has been archived by the owner on Oct 19, 2023. It is now read-only.

Commit

Permalink
Merge pull request #27 from jina-ai/fix-import
Browse files Browse the repository at this point in the history
fix: dep import in babyagi
  • Loading branch information
zac-li authored Apr 21, 2023
2 parents 5a56967 + 2e60c98 commit 7ddd307
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lcserve/apps/babyagi/babyagi.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from collections import deque
from typing import Any, Dict, List, Literal, Optional, Union

import faiss
from fastapi import WebSocket
from langchain import LLMChain, OpenAI, PromptTemplate, SerpAPIWrapper
from langchain.agents import AgentExecutor, Tool, ZeroShotAgent
Expand All @@ -17,6 +16,8 @@


def get_vectorstore():
import faiss

# Define your embedding model
embeddings_model = OpenAIEmbeddings()

Expand Down

0 comments on commit 7ddd307

Please sign in to comment.