Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Проблема с сериализацией GigaChat #38

Closed
2 of 14 tasks
Rai220 opened this issue Oct 23, 2023 · 1 comment
Closed
2 of 14 tasks

Проблема с сериализацией GigaChat #38

Rai220 opened this issue Oct 23, 2023 · 1 comment

Comments

@Rai220
Copy link
Collaborator

Rai220 commented Oct 23, 2023

System Info

При сериализации целочек в которых участвует GigaChat не происходит сохранение дополнительных параметров в файл.

Who can help?

No response

Information

  • The official example notebooks/scripts
  • My own modified scripts

Related Components

  • LLMs/Chat Models
  • Embedding Models
  • Prompts / Prompt Templates / Prompt Selectors
  • Output Parsers
  • Document Loaders
  • Vector Stores / Retrievers
  • Memory
  • Agents / Agent Executors
  • Tools / Toolkits
  • Chains
  • Callbacks/Tracing
  • Async

Reproduction

giga = GigaChat(verify_ssl_certs=False, temperature=0.5)
chain = load_summarize_chain(giga, chain_type="map_reduce")
chain.save("summary_chain.json")

В summary_chain не будет флага verify_ssl_certs и temperature

Expected behavior

Параметры должны сохраняться.

@Rai220
Copy link
Collaborator Author

Rai220 commented Oct 30, 2023

Now works great!

@Rai220 Rai220 closed this as completed Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant