Comments (2)
To resolve the issue of passing global variables via an environment file when using the Azure OpenAI service, ensure that your environment file (.env
) includes all the necessary variables listed in the VARIABLES_TO_GET_FROM_ENVIRONMENT
array. Here is an example of what your .env
file should look like:
OPENAI_API_KEY=your_openai_api_key
ANTHROPIC_API_KEY=your_anthropic_api_key
GOOGLE_API_KEY=your_google_api_key
AZURE_OPENAI_API_KEY=your_azure_openai_api_key
AZURE_OPENAI_API_VERSION=your_azure_openai_api_version
AZURE_OPENAI_API_INSTANCE_NAME=your_azure_openai_api_instance_name
AZURE_OPENAI_API_DEPLOYMENT_NAME=your_azure_openai_api_deployment_name
AZURE_OPENAI_API_EMBEDDINGS_DEPLOYMENT_NAME=your_azure_openai_api_embeddings_deployment_name
ASTRA_DB_APPLICATION_TOKEN=your_astra_db_application_token
ASTRA_DB_API_ENDPOINT=your_astra_db_api_endpoint
COHERE_API_KEY=your_cohere_api_key
HUGGINGFACEHUB_API_TOKEN=your_huggingfacehub_api_token
SEARCHAPI_API_KEY=your_searchapi_api_key
SERPAPI_API_KEY=your_serpapi_api_key
VECTARA_CUSTOMER_ID=your_vectara_customer_id
VECTARA_CORPUS_ID=your_vectara_corpus_id
VECTARA_API_KEY=your_vectara_api_key
Make sure that the .env
file is correctly formatted and located in the directory where your application expects it. If the connection error persists, double-check that the values in the .env
file are correct and that there are no typos or formatting issues [1].
To continue talking to Dosu, mention @dosu.
from langflow.
Fixed by #2336
from langflow.
Related Issues (20)
- Cloud version: same LLM answer is used across 2 differents output component HOT 3
- Asyncio Thread error when running Flow as Tool with a Agent
- Is there any estimated date for langfuse to be integrated back?
- Support GraphRAG
- Entry
- Getting frequent Server is busy messages HOT 4
- Got an error after run, but still can open the web page HOT 1
- API-Streaming responses a 500 Error HOT 1
- javascript api error with the api key HOT 1
- langflow doesnt run on mac os monterey HOT 2
- langflow not respecting env file. HOT 1
- Impossible to use behind a proxy with a custom certificate (Cloudflare Zero Trust) HOT 3
- Components do not build when user creates a new folder and doesnt save the name
- Make certain requirements optional for pypi langflow installation
- 建一个微信群给国内用户 HOT 1
- Issue with tracing service reinitializing the tracers for nested workflows HOT 1
- Problema com Conectores de Saída ao Criar Text Splitters no Módulo Experimental HOT 1
- Error When Using Chat Input Node with Image File in Flow HOT 5
- bug: text splitters not splitting file inputs correctly HOT 4
- Suggest to upgrade astra-assistants client to 2.1.1 to fix OpenAI async functions HOT 2
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.
from langflow.