Coder Social home page Coder Social logo

conversational-chatbot-groq's People

Contributors

dloman118 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

conversational-chatbot-groq's Issues

Prompt KeyError after running

I filled in my API KEY in app. py and started it, but it prompted KEYError. Xxxxxxxxxx is my confidential API KEY

KeyError:'xxxxxxxxx'
File "C:\Users\99548\AppData\Roaming\Python\Python311\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)
File "E:\groq\conversational-chatbot-groq-main\app.py", line 70, in <module>
    main()
File "E:\groq\conversational-chatbot-groq-main\app.py", line 18, in main
    groq_api_key = os.environ['org_01htfdrvx4et585nnqtsq1vp9p']
                   ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen os>", line 679, in __getitem__

on replit it says that from typing_extensions import Annotated, Literal, Protocol, TypeAlias, TypeAliasType, deprecated ImportError: cannot import name 'TypeAliasType' from 'typing_extensions'

from typing_extensions import Annotated, Literal, Protocol, TypeAlias, TypeAliasType, deprecated
ImportError: cannot import name 'TypeAliasType' from 'typing_extensions'

the whole traceback

2024-06-05 20:41:19.685 Uncaught app exception
Traceback (most recent call last):
  File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 535, in _run_script
    exec(code, module.__dict__)
  File "/home/runner/conversational-chatbot-groq/app.py", line 3, in <module>
    from groq import Groq
  File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/groq/__init__.py", line 3, in <module>
    from . import types
  File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/groq/types/__init__.py", line 5, in <module>
    from .model import Model as Model
  File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/groq/types/model.py", line 5, in <module>
    from .._models import BaseModel
  File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/groq/_models.py", line 20, in <module>
    from pydantic.fields import FieldInfo
  File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/pydantic/fields.py", line 18, in <module>
    from . import types
  File "/home/runner/conversational-chatbot-groq/.pythonlibs/lib/python3.10/site-packages/pydantic/types.py", line 33, in <module>
    from typing_extensions import Annotated, Literal, Protocol, TypeAlias, TypeAliasType, deprecated
ImportError: cannot import name 'TypeAliasType' from 'typing_extensions' (/nix/store/nv13brd9hw3wbajaxkrgfsngyfjg0xjj-python3.10-typing-extensions-4.5.0/lib/python3.10/site-packages/typing_extensions.py)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.