Cannot use Cohere as prompt driver. #543
-
Hello everyone! I am trying to use cohere as prompt driver. I installed the extra but when I run the example is not working: import os agent = Agent( agent.run('What is the sentiment of this review? Review: "I really enjoyed this movie!"') Not sure what's going on, is there anything I miss? Using OpenAI is a must? I am getting this error: openai.OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Definitely a gap and we're working to address it in a more comprehensive manner. You can see a similar discussion here.. Until the comprehensive fix appears, you can follow the workaround detailed in that thread. It involves disabling the TaskMemory for the prompt driver, as detailed here. Will leave this open until we get the fix out. |
Beta Was this translation helpful? Give feedback.
Definitely a gap and we're working to address it in a more comprehensive manner. You can see a similar discussion here.. Until the comprehensive fix appears, you can follow the workaround detailed in that thread. It involves disabling the TaskMemory for the prompt driver, as detailed here. Will leave this open until we get the fix out.