-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Trying to envoke GigaChatEmbeddings like below
`
from langchain_gigachat.chat_models import GigaChat
from langchain_gigachat.embeddings import GigaChatEmbeddings
embeddings = GigaChatEmbeddings(
credentials=access_token,
verify_ssl_certs=False
)
vector_store = DeeplakeVectorStore.from_documents(dataset_path="./deeplake_dataset",
embedding=embeddings,
documents=texts,
overwrite=True)
`
With access_token taken from "Client ID" or access_token from request to https://ngw.devices.sberbank.ru:9443/api/v2/oauth have below
File "/home/ubuntu/rag_rl/.venv/lib/python3.10/site-packages/httpx/_models.py", line 81, in _normalize_header_value raise TypeError(f"Header value must be str or bytes, not {type(value)}") TypeError: Header value must be str or bytes, not <class 'NoneType'>
langchain-deeplake==0.1.0
langchain==0.3.27
gigachat==0.1.42.post2
langchain-gigachat==0.3.12
langchain-community==0.3.31