researcher-gpt's People
Forkers
arttus pterameta decentralised-ai jan-karsten-kuhnke redadvanced oisee leongodwin quito96 neskuchny bananemure malufvideo user-in-search-of-a-name jawond pelissaro xcytxs dragonskyside testsavant ron7 amsator danielitus canybec flavorfan wesley7137 touristshaun dafrem interionai roboio aditya-chandrabhatla angeloluidens verheesj thuansb eugeneleychenko derick13 omarnagy91 yacinebaroudi oahnewss nieljacobs walchshofer xl714 haalcala wsm06 consciousenergy jenosize edulistas2017 techthiyanes andoxadx btcjon jpalmadadev dan4k-tosh madoyi hadryan qtexuk sleepybyte23 asdhashd111 doubleden23 sachins-eng techventurebuilder tiamat-tech ailabteam spcp001 mikehare47 ktellawi willnco justmg beitans darcstar-solutions-tech alexander-zhigalin laith619 thecompoundingdev soi-20 joserg85 mehr-vertrieb gavinchen1314 ramstorage willliang clappo143 olafgeibig radityapujamurti stepkurniawan nick-choudhary mcclentys n-h00 krasimirivanov1991 krzysiaczek99 natapol2547 alfaprima ralf12358 svngoku crisdevnull1 yeok-c moekatib kcthomasleung wrightdaniel2017 maany johngoad linnanwang flepied lgs dipendra-sharma anyopensourceresearcher-gpt's Issues
Getting AttributeError for agent = AgentType.OPENAI_FUNCTIONS
AttributeError: OPENAI_FUNCTIONS
Traceback:
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/Users/lev/Documents/Github/researcher-gpt/app.py", line 169, in
agent=AgentType.OPENAI_FUNCTIONS,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/enum.py", line 786, in getattr
raise AttributeError(name) from None
Missing import streamlit?
import streamlit as st
otherwise
def main():
st.set_page_config(page_title="AI research agent", page_icon=":bird:")
st.header("AI research agent :bird:")
query = st.text_input("Research goal")
if query:
st.write("Doing research for ", query)
result = agent({"input": query})
st.info(result['output'])
gives error
Importing PromptTemplate from langchain root module is no longer supported.
Cannot find openai_api_key
Hi All,
Get the following error when running app.py:
2023-09-05 20:07:01.187 Uncaught app exception
Traceback (most recent call last):
File "/Users/xxxx/Desktop/GPT_RESEARCHER_PROJECT/myenv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
exec(code, module.dict)
File "/Users/xxxx/Desktop/GPT_RESEARCHER_PROJECT/researcher-gpt/app.py", line 161, in
llm = ChatOpenAI(temperature=0, model="gpt-3.5-turbo-16k-0613", openai_api_key=OpenAI_key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/xxxx/Desktop/GPT_RESEARCHER_PROJECT/myenv/lib/python3.11/site-packages/langchain/load/serializable.py", line 75, in init
super().init(**kwargs)
File "/Users/xxxx/Desktop/GPT_RESEARCHER_PROJECT/myenv/lib/python3.11/site-packages/pydantic/v1/main.py", line 341, in init
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 1 validation error for ChatOpenAI
root
Did not find openai_api_key, please add an environment variable OPENAI_API_KEY
which contains it, or pass openai_api_key
as a named parameter. (type=value_error)
Have attempted to define openai_api_key="xxxx" directly as shown but to no avail.
Any help would be greatly appreciated!! Thanks
Websites arent scraped
so everything seems to work (via streamlit) however - browserless isnt called at all for me - meaning the scraper isnt scraping anything. I do get serps and based on those I get outputs.
Turn this into a chat
hello Jason
I tried to turn this into a chat:
`
def main():
st.set_page_config(page_title="search", page_icon=":eagle:")
st.header("search ๐ฆ
")
global agent # Let the function know we're using the global version of agent
i = 0
continue_chat = True
while continue_chat:
if i > 0:
query = st.text_input("", key=f'text_input_{i}')
else:
query = st.text_input("What would you like to ask about ?", key=f'text_input_{i}')
if query:
result = agent({"input": query})
st.info(result['output'])
st.download_button('Download result', result['output'])
# add another query here so we can continue to ask questions
i += 1
else:
continue_chat = False
`
when I start this app, I type a question and get an answer. But when I continue the chat by typing a second question, they answer my first question again before answering the second question. So every time I type a new question, all previous get answered again.
new to FastAPI, get {"detail":"Method Not Allowed"} in make.com
I'm facing an issue replicating the endpoint part in make.com - getting {"detail":"Method Not Allowed"}
All of the other parts are working as expected. Airtable gets populated, but without the research part.
Scraping tool is not called, it just returns response based on old data using chatgpt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.