Results 40 comments of Saverio Proto

@aramase Please have a look, the issue is automatically going stale again

@aramase can we reopen this issue please ?

According to the docs: https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#embeddings The `POST` request should look like: ``` POST https://{your-resource-name}.openai.azure.com/openai/deployments/{deployment-id}/embeddings?api-version={api-version} ``` But I am setting `api_base` to `xxxxxx.openai.azure.com/openai` and I am getting: ``` https://xxxxxx.openai.azure.com/openai/engines/text-embedding-ada-002/embeddings ``` I...

I refactored the commit into 8179f728d3073765573a9c4ff07bb3ff717cb372 Now it is working for me as expected.

LangChain uses [unstructured](https://pypi.org/project/unstructured/) to determine the file types. There is a dependency on `libmagic` to be installed in the system for `unstructured` to work correctly: https://github.com/Unstructured-IO/unstructured/blob/3c3c59a726582cbf1d1bd5bbfe5ad015d4a3c1f6/unstructured/file_utils/filetype.py#L187-L195 In Debian you would...

I tried to reproduce this, and according to my tests it depends on the prompt used. ``` from langchain.llms import AzureOpenAI from langchain.chains import LLMChain from langchain.prompts import PromptTemplate prompt...

I am getting `'` at the end of some output ... ``` In [20]: hyde_prompt_text = """You will be given a sentence. ...: If the sentence is a question, convert...

@pieroit I think this is related: https://github.com/openai/openai-python/issues/363