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

LangChain Integration #25

Open
4 tasks done
shant01 opened this issue Oct 25, 2023 · 0 comments
Open
4 tasks done

LangChain Integration #25

shant01 opened this issue Oct 25, 2023 · 0 comments
Assignees

Comments

@shant01
Copy link
Collaborator

shant01 commented Oct 25, 2023

  • Install Langchain package to the backend
  • Create .env file at top level and add it to the git ignore
  • Use env variables for API keys
  • Add Dockerfile
shant01 added a commit that referenced this issue Nov 14, 2023
shant01 added a commit that referenced this issue Nov 15, 2023
* fast api testing successful

* hot reload with uvicorn working

* read me for instructions

* gitignore

* organized folders

* conversation file for langchain, main for api

* langchain agent file defined

* fastapi route for conversation

* conversation function

* changed import

* shortened template

* succesfful interacton with openai api

* Ignore .pyc files

* cleaned up fastapi file

* added route for calling fastapi from backend

* skeleteon for langchain call

* added langchaincall route to server file

* langchaincallroute finished

* successful commincation from express to fastapi

* able to send data to api from body

* successfull call to api from front end

* front end prints out response from api

* created requirements file

* Upgrades packages and makde import changes. Initial docker file for langchain.

Ref #25

* Set up dockerfile for langchain

Fin #25

---------

Co-authored-by: Arturo <[email protected]>
Co-authored-by: John Tran <[email protected]>
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

2 participants